Setting item name on creation
Posted: Wed Feb 18, 2009 4:12 pm
As I'm encouraged in the development's current direction, I bring this topic up as there are currently no right way to set name for custom items. I think this is one of the more essential missing features in Pol.
Setting item name on creation:
This feature is espescially needed when you are creating complex item systems.
Setting item name on creation:
Code: Select all
var desc := GetItemDescriptor("bench");
desc.color := 250; // just like settings a color
desc.name := "new name"; // this should work too
CreateItemInContainer(who.backpack, desc);