2021-01-03 14:29:53 +00:00
|
|
|
<!--
|
|
|
|
Note: there is several type of items, the type is the name of the
|
|
|
|
entry (<passive.../> defines a passive type item).
|
|
|
|
- Those are: passive, active, familiar and trinket
|
|
|
|
|
|
|
|
- use the fields `bombs`, `coins` and `keys` to control how many
|
|
|
|
consumables your item gives when you pick it up. For exemple
|
|
|
|
`bombs="10" keys="10"` gives the player 10 keys and 10 bombs when
|
|
|
|
the item is picked up.
|
|
|
|
|
|
|
|
Note: all heart counts are calculated in half hearts.
|
|
|
|
- `maxhearts` is the number of heart containers to add.
|
|
|
|
- `hearts` is count of red hearts to add, it won't exceed the amount of
|
|
|
|
heart containers the player have.
|
|
|
|
- `soulhearts` is the number of spirit hearts to add.
|
|
|
|
- `blackhearts` the number of black hearts to add.
|
|
|
|
|
|
|
|
Note: Red Candle has a `maxcharges` value of 110
|
|
|
|
- For active items `maxcharges` control the number of charges the item have
|
|
|
|
A value of `maxcharge="0"` means infinite charges.
|
|
|
|
|
|
|
|
- `cooldown` is the number of frames you want the player to freez after
|
|
|
|
using the item
|
|
|
|
|
|
|
|
Note on making stat modifying items: the mod needs to have a
|
|
|
|
MC_EVALUATE_CACHE callback in main.lua in order to catch the
|
|
|
|
modification and apply the actual stat changes.
|
|
|
|
- `cache` are the flags to set when calling functions callbacks to
|
|
|
|
MC_EVALUATE_CACHE. They are a space separated list of stat names,
|
|
|
|
the possible values are as following:
|
|
|
|
`speed`, `range`, `shotspeed`, `damage`, `tearcolor`, `tearflag`,
|
|
|
|
`firedelay`, `luck`, `flying` and `all`
|
|
|
|
All the flags might not work, but some work. If you want to call
|
|
|
|
MC_EVALUATE_CACHE with the damage, luck and speed flags, put
|
|
|
|
`cache="damage luck speed"` in your item xml definiton.
|
|
|
|
|
|
|
|
- `special` if you want your item to be special, because it's special
|
|
|
|
a special item has special set to `special="true"`
|
|
|
|
|
|
|
|
- `devilprice` the number of red heart containers your item should cost in
|
|
|
|
a devil room (`devilprice="1"` or `devilprice="2"`)
|
|
|
|
|
|
|
|
<passive name="passive_name.name"
|
|
|
|
description="flavor text shows when you pick up the item"
|
|
|
|
gfx="itemsprite.png"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<active name="an active item name"
|
|
|
|
description="flavor text shows when you pick up the item"
|
|
|
|
gfx="itemsprite.png"
|
|
|
|
maxcharges="0"
|
|
|
|
/>
|
|
|
|
-->
|
2021-01-04 21:09:58 +00:00
|
|
|
<items gfxroot="gfx/items/" version="1">
|
|
|
|
|
2021-01-05 17:16:17 +00:00
|
|
|
<passive name="Yale Horns"
|
|
|
|
cache=""
|
|
|
|
description="Oh, sorry, did I hit you?"
|
|
|
|
gfx="yale_horns.png"
|
|
|
|
/>
|
|
|
|
|
2021-01-04 21:09:58 +00:00
|
|
|
<passive name="Drake Soul"
|
|
|
|
cache=""
|
2021-01-05 17:16:17 +00:00
|
|
|
description="Long past you carry."
|
2021-01-04 21:09:58 +00:00
|
|
|
gfx="drake_soul.png"
|
|
|
|
/>
|
2021-01-03 14:29:53 +00:00
|
|
|
|
|
|
|
<passive name="Bronze Scale Collar"
|
2021-01-05 17:16:17 +00:00
|
|
|
description="Shiny garment!"
|
2021-01-04 21:09:58 +00:00
|
|
|
gfx="bronze_scale.png"
|
2021-01-03 14:29:53 +00:00
|
|
|
/>
|
|
|
|
|
2021-01-05 17:16:17 +00:00
|
|
|
<passive name="Dragon Mark"
|
|
|
|
cache=""
|
|
|
|
description="Fiery."
|
|
|
|
gfx="drake_mark.png"
|
|
|
|
soulhearts="2"
|
|
|
|
maxcharges="4"
|
2021-01-04 21:09:58 +00:00
|
|
|
/>
|
|
|
|
|
2021-01-07 09:09:14 +00:00
|
|
|
<passive name="Mommy of Two"
|
2021-01-04 21:09:58 +00:00
|
|
|
description="Sweet, adorable, mischievous!"
|
|
|
|
gfx="mommy_of_two.png"
|
|
|
|
/>
|
2021-01-05 17:16:17 +00:00
|
|
|
|
2021-01-07 09:09:14 +00:00
|
|
|
<familiar name="Mommy of Two Ariel"
|
|
|
|
description="Sweet, adorable, mischievous!"
|
|
|
|
gfx="mommy_of_two_ariel.png"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<familiar name="Mommy of Two Yari"
|
|
|
|
description="Sweet, adorable, mischievous!"
|
|
|
|
gfx="mommy_of_two_yari.png"
|
|
|
|
/>
|
|
|
|
|
2021-01-04 21:09:58 +00:00
|
|
|
<familiar name="Scaly Egg"
|
2021-01-04 00:49:20 +00:00
|
|
|
description="A warming companion."
|
2021-01-04 21:09:58 +00:00
|
|
|
gfx="scaly_egg.png"
|
2021-01-03 14:29:53 +00:00
|
|
|
/>
|
|
|
|
|
2021-01-05 17:16:17 +00:00
|
|
|
<active name="Succubus Charm"
|
|
|
|
description="This realm is now yours."
|
|
|
|
gfx="succubus_charm.png"
|
|
|
|
maxcharges="0"
|
|
|
|
/>
|
|
|
|
|
2021-01-03 14:29:53 +00:00
|
|
|
<active name="Zappy Breath!"
|
2021-01-04 00:49:20 +00:00
|
|
|
description="Zappy-zapps in a bottle!"
|
2021-01-04 21:09:58 +00:00
|
|
|
gfx="zappy.png"
|
2021-01-04 00:49:20 +00:00
|
|
|
maxcharges="4"
|
2021-01-03 14:29:53 +00:00
|
|
|
/>
|
|
|
|
</items>
|