User:ARCHIMEDIAN/Notes: Difference between revisions

From Elanthipedia
< User:ARCHIMEDIAN
Jump to navigation Jump to search
No edit summary
Line 26: Line 26:
Useful commands:
Useful commands:
<blockquote>
<blockquote>
<nowiki>;e echo Room.current.inspect</nowiki>
<nowiki>;e echo Room.current.inspect</nowiki><br />
<nowiki>;e echo Room.current.wayto</nowiki>
<nowiki>;e echo Room.current.wayto</nowiki><br />
<nowiki>;e Map.list[room_num].description.push(XMLData.room_description) #update current room description (useful for adding night/day description to rooms)</nowiki>
<nowiki>;e Map.list[room_num].description.push(XMLData.room_description) #update current room description (useful for adding night/day description to rooms)</nowiki><br />
</blockquote>
</blockquote>
Delete a room
Delete a room
<blockquote>
<nowiki>;e Room.current.wayto.delete("roomid") and ;e Room.current.timeto.delete("roomid")"</nowiki>
<nowiki>;e Room.current.wayto.delete("roomid")</nowiki><br />
<nowiki>;e Room.current.timeto.delete("roomid")</nowiki><br />
</blockquote>


Update Rooms with multiple descriptions
Update Rooms with multiple descriptions
<blockquote>
<nowiki>;repo checkout-mapdb</nowiki>
<nowiki>;e Map.list[1263].description.push(XMLData.room_description)</nowiki>
<nowiki>;repo checkout-mapdb</nowiki><br />
<nowiki>;repo upload-mapdb</nowiki>
<nowiki>;e Map.list[1263].description.push(XMLData.room_description)</nowiki><br />
<nowiki>;repo upload-mapdb</nowiki><br />
</blockquote>

Revision as of 22:28, 28 July 2016


Transforming Items

A set of notes to help with dr-scripts equipmanager

worn item transformed item verb Item to Weapon Text Weapon to Item Text Notes
Item:Polished steel tailband with serrated edges Weapon:Polished steel katavdar with serrated edges turn Requires a free hand to transform the item and weapon, item must be held when transforming

Lich Mapping Notes

Useful commands:

;e echo Room.current.inspect
;e echo Room.current.wayto
;e Map.list[room_num].description.push(XMLData.room_description) #update current room description (useful for adding night/day description to rooms)

Delete a room

;e Room.current.wayto.delete("roomid")
;e Room.current.timeto.delete("roomid")

Update Rooms with multiple descriptions

;repo checkout-mapdb
;e Map.list[1263].description.push(XMLData.room_description)
;repo upload-mapdb