mahlendur/_work/Data/Scripts/Content/Items/IT_ziegenkaese.d
Daniel Heße 892a40ff0f Initial commit with Subversion-codebase from 13/05/2022.
Cleaned up the mess, at this time, only viable data get synced (_work directory for Gothic-data, miranda for mdc-scripts.
Need to symlink files to a working directory.
2022-05-13 17:38:52 +02:00

29 lines
No EOL
762 B
D

/*===================================================================
Ziegenkäse
==================================================================*/
const int Value_GoatCheese = 50;
const int HP_GoatCheese = 25;
INSTANCE ItFo_GoatCheese (C_Item)
{
name = "Ziegenkäse";
mainflag = ITEM_KAT_FOOD;
flags = ITEM_MULTI;
value = Value_GoatCheese;
visual = "ziegenkaese.3DS";
material = MAT_LEATHER;
scemeName = "FOODHUGE";
on_state[0] = Use_GoatCheese;
description = name;
TEXT[1] = NAME_Bonus_HP; COUNT[1] = HP_GoatCheese;
TEXT[5] = NAME_Value; COUNT[5] = Value_GoatCheese;
};
FUNC VOID Use_GoatCheese()
{
Npc_ChangeAttribute (self, ATR_HITPOINTS, HP_GoatCheese);
};