================== Miscanelaous Items ================== :Authors: innoxia, bicobus .. note:: Item modding is not fully complete yet, as you cannot define any enchantment effects for items. I will expand this at some point in the future, but for now, this modding framework should be enough for most uses. An annotated example lives at :ltgithub:`res/items/innoxia/pills/fertility.xml`. Boolean Values -------------- Boolean values can be used throughought the elements of this document. Those values are to be understood as: - true - false coreAttributes -------------- authorTag ~~~~~~~~~ How attribution to the mod author (you!) should be displayed in the item’s tooltip. If left blank or not included, a default attribution based on folder name will be used. This tag is optionnal. .. code:: xml value ~~~~~ How much this item is worth. .. code:: xml 20 determiner ~~~~~~~~~~ What’s appended before the item’s name in an instance of “Innoxia has X Breeder Pill”, where X is the determiner. This will usually be either “a” or “an”, but for other items may be different. An example might be: “Innoxia is holding X scissors”, where X (the determiner) would now need to be “a pair of”. .. code:: xml name ~~~~ The singular name of this item. .. code:: xml namePlural ~~~~~~~~~~ The plural name of this item. **Node Variables:** .. nodevar:: pluralByDefault () The variable ``pluralByDefault`` defines whether the item will always be refered by it’s plural name (e.g. “a pair of pants”). .. code:: xml description ~~~~~~~~~~~ The description/lore of this item. .. code:: xml useDescriptor ~~~~~~~~~~~~~ How the item is used. This should be a single verb, and is used as the title of the action when using it. .. code:: xml swallow sexUse ~~~~~~ Define whether the item can be used during sex, like a dildo or a pill. This element accepts `Boolean Values`_. .. code:: xml true combatUseAllies ~~~~~~~~~~~~~~~ Define whether the item can be used, either on yourself or your allies, during combat. This element accepts `Boolean Values`_. .. code:: xml true combatUseEnemies ~~~~~~~~~~~~~~~~ Define whether the item can be used on your opponents during combat. This element accepts `Boolean Values`_. .. code:: xml false consumedOnUse ~~~~~~~~~~~~~ Define whether the item should be consumed on use. *(Editor Note: is it a consumable?)* This element accepts `Boolean Values`_. .. code:: xml true rarity ~~~~~~ The rarity of this item. Values can be found here: :ltgithub:`src/com/lilithsthrone/game/inventory/Rarity.java` .. code:: xml COMMON imageName ~~~~~~~~~ The file name of this item’s image when in the character’s inventory. The only supported file type is .svg. I use the free program “Inkscape” to make .svg images for the game. .. code:: xml pill.svg colours ~~~~~~~ Your item can be coloured any way you like, but if you’d like the game to automatically re-colour your item, you can specify available colours here. .. seealso:: :ref:`colours` Each defaults to ``CLOTHING_BLACK``. .. code:: xml CLOTHING_PURPLE_LIGHT effectTooltipLines ~~~~~~~~~~~~~~~~~~ You can use this section to describe any extra features of this item. These effects are shown in the tooltip when the player hovers over the item icon, so try and keep them short (as they should fit on one line). It should probably only be used to describe what happens in the `applyEffects`_ element. No characters are passed in as parsing arguments, so you should NOT use any character-specific parsing elements (such as ``[npc.name]``). .. code:: xml [#SE_PROMISCUITY_PILL.getName(null)]']]> applyEffects ~~~~~~~~~~~~ This is what is called and parsed every time this item is used on someone. The character being subjected to the effects is given the tag ``npc``, while the character using the item on the target is ``npc2``. If self-using the item, ``npc`` and ``npc2`` will be the same character. All of the returned text is displayed to the player. .. code:: xml The small pill easily slides down [npc.her] throat, and within moments [npc.she] [npc.verb(feel)] #IF(npc.hasVagina()) a soothing, warm glow spreading out from [npc.her] ovaries into [npc.her] lower torso. [npc.Her] mind fogs over with an overwhelming desire to feel potent sperm spurting deep into [npc.her] #IF(npc.isVisiblyPregnant()) pussy, #ELSE womb, #ENDIF and before [npc.she] can stop it, a horny whimper escapes from between [npc.her] [npc.lips]. #IF(npc.hasPenisIgnoreDildo()) At the same time, [npc.her] manhood begins to throb with need, and [npc.she] [npc.verb(feel)] #ENDIF #ENDIF #IF(npc.hasPenisIgnoreDildo()) an overpowering desire to sink deep into a fertile female's cunt and fill her with [npc.cum+]. #ENDIF #IF(!npc.hasPenisIgnoreDildo() && !npc.hasVagina()) a desperate heat in [npc.her] genderless mound. #ENDIF

[style.colourPinkLight([npc.Name] [npc.is] now experiencing '[#SE_VIXENS_VIRILITY.getName(npc)]' for the next 24 hours!)]

]]>
itemTags ~~~~~~~~ Special item tags that apply to this item. Values can be found here: :ltgithub:`src/com/lilithsthrone/game/inventory/ItemTag.java` .. code:: xml DOMINION_ALLEYWAY_SPAWN SUBMISSION_TUNNEL_SPAWN BAT_CAVERNS_SPAWN ATTRIBUTE_TF_ITEM SOLD_BY_RALPH useDescription -------------- Descriptions that are displayed when using this item. ``selfUse`` is used when a character uses this item on themselves ``otherUse`` is used when the item is applied on someone else. You must define at least one of both of these elements, and if more than one of each is defined, then the use description will be chosen randomly from all those you’ve defined. .. code:: xml