StendhalDesign: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 206: | Line 206: | ||
* <b>hp</b> is the life indicator of the player, when it reach 0 the sheep dies. |
* <b>hp</b> is the life indicator of the player, when it reach 0 the sheep dies. |
||
* <b>atk</b> is the RP attack value. See [[StendhalDesign#RP|RP rules]] |
* <b>atk</b> is the RP attack value. See [[StendhalDesign#RP|RP rules]] |
||
* <b>exp</b> is the experience of the player. |
|||
* <b>money</b> is the quantity of money the player has. |
* <b>money</b> is the quantity of money the player has. |
||
| Line 221: | Line 222: | ||
=== Food === |
=== Food === |
||
Food has the following set of attributes: |
Food has the following set of attributes: |
||
* <b>x</b> is the x-position of the player |
|||
* x |
|||
* <b>y</b> is the y-position of the player |
|||
* y |
|||
* quantity |
* <b>quantity</b> is the amount of food available |
||
Food will be regenerated every X units of time.<br> |
Food will be regenerated every X units of time.<br> |
||
== |
=== Armor === |
||
Armor is an item that player can ''wear'': |
|||
| ⚫ | |||
* <b>x</b> is the x-position of the armor when player doesn't wear it. |
|||
* <b>y</b> is the y-position of the armor when player doesn't wear it. |
|||
* <b>def</b> is the RP defense value. See [[StendhalDesign#RP|RP rules]] |
|||
* <b>weight</b> is the weight of the armor. |
|||
=== Weapon === |
|||
Weapon is an item that player can ''wear'': |
|||
* <b>x</b> is the x-position of the weapon when player doesn't wear it. |
|||
* <b>y</b> is the y-position of the weapon when player doesn't wear it. |
|||
* <b>atk</b> is the RP attack value. See [[StendhalDesign#RP|RP rules]] |
|||
* <b>weight</b> is the weight of the weapon. |
|||
=== Healing potion === |
|||
Healing potion is an item that player can ''wear'' inside the backpack: |
|||
* <b>x</b> is the x-position of the potion when player doesn't wear it. |
|||
* <b>y</b> is the y-position of the potion when player doesn't wear it. |
|||
* <b>heal</b> is the amount of HP the potion will heal. |
|||
=RP= |
=RP= |
||
'''TODO:''' Describe here the RP rules |
'''TODO:''' Describe here the RP rules |
||
= Pseudocode = |
|||
| ⚫ | |||