Mod articles
-
additem(name, quantity)
additem takes simtype internal name and an optional quantity.
examples:
--add kellerac's sword
additem('sword2h_unique12f')
--add 10 prismere lockpicks.
additem('lockmelter',10)
For reference here is some helpful dumps:
equipment
components
gems
spawn(name)
spawn takes a simtype and spawns it in front of you.
examples:
--spawns a clown car
spawn('obj_clowncar')
--spawns alyn shir
spawn('NPC_MQ_DOK_AlynShir')
iprint(message)
iprint uses the games notification system to print message and localize data.
Takes either a string or an ia64.
-- print Hello world