… | |
… | |
674 | usually inevitable. |
674 | usually inevitable. |
675 | </attribute> |
675 | </attribute> |
676 | <attribute arch="glow_radius" editor="glow radius" type="int"> |
676 | <attribute arch="glow_radius" editor="glow radius" type="int"> |
677 | If <glow radius> is set to a value greater zero, the object |
677 | If <glow radius> is set to a value greater zero, the object |
678 | appears lit up on dark maps. <glow radius> can be a value |
678 | appears lit up on dark maps. <glow radius> can be a value |
679 | between 0 and 4, the higher, the more light does the object emit. |
679 | between 0 and 9, the higher, the more light does the object emit. |
680 | </attribute> |
680 | </attribute> |
681 | <attribute arch="material" editor="material" type="bitmask_material"> |
681 | <attribute arch="material" editor="material" type="bitmask_material"> |
682 | This bitmask-value informs the player of which material(s) the |
682 | This bitmask-value informs the player of which material(s) the |
683 | object consists. Material does also affect how likely the object |
683 | object consists. Material does also affect how likely the object |
684 | can be destroyed by hazardous spell-effects. |
684 | can be destroyed by hazardous spell-effects. |
… | |
… | |
840 | |
840 | |
841 | This should always be set for spell-like abilities. "Natural" |
841 | This should always be set for spell-like abilities. "Natural" |
842 | abilities like a dragon's firebreath are an exception. |
842 | abilities like a dragon's firebreath are an exception. |
843 | Note that non-magical abilities are more dangerous because |
843 | Note that non-magical abilities are more dangerous because |
844 | magic resistance does not protect from those.</attribute> |
844 | magic resistance does not protect from those.</attribute> |
|
|
845 | </type> |
|
|
846 | |
|
|
847 | <!--####################################################################--> |
|
|
848 | |
|
|
849 | <type number="81" name="Torch"> |
|
|
850 | <description><![CDATA[ |
|
|
851 | Torches are a special kind of Lamp, they are worn out by repeatedly |
|
|
852 | lightening them up (when the is_lightable flag is set) and otherwise |
|
|
853 | they can only be used once.]]> |
|
|
854 | </description> |
|
|
855 | <attribute arch="food" editor="burning duration" type="int"> |
|
|
856 | This field specifies the burning duration of the torch. |
|
|
857 | </attribute> |
|
|
858 | <attribute arch="range" editor="enabled glow radius" type="int"> |
|
|
859 | This field sets the glow radius of the torch if it is enabled. |
|
|
860 | If you want to make a torch that is already burning set the |
|
|
861 | "glow radius" field. |
|
|
862 | </attribute> |
|
|
863 | </type> |
|
|
864 | |
|
|
865 | <type number="82" name="Lamp"> |
|
|
866 | <description><![CDATA[ |
|
|
867 | Lamps are carryable light sources for players with a fuel tank.]]> |
|
|
868 | </description> |
|
|
869 | <attribute arch="speed" editor="burn speed" type="float"> |
|
|
870 | This field is the speed of the lamp. (If the value 0.00208 is given |
|
|
871 | here the fuel field will specify the burning duration in minutes.) |
|
|
872 | </attribute> |
|
|
873 | <attribute arch="food" editor="fuel" type="int"> |
|
|
874 | This field sets the burning duration of the lamp, which depends on the speed |
|
|
875 | field of this object. |
|
|
876 | </attribute> |
|
|
877 | <attribute arch="range" editor="enabled glow radius" type="int"> |
|
|
878 | This field sets the glow radius of the lamp if it is enabled. |
|
|
879 | If you want to make a lamp that is already burning set the |
|
|
880 | "glow radius" field. |
|
|
881 | </attribute> |
845 | </type> |
882 | </type> |
846 | |
883 | |
847 | <!--####################################################################--> |
884 | <!--####################################################################--> |
848 | <type number="18" name="Altar"> |
885 | <type number="18" name="Altar"> |
849 | <ignore> |
886 | <ignore> |