zztong Posted August 6, 2022 Share Posted August 6, 2022 I recently started messing with blocks.xml and loot.xml and I've got a question... In loot.xml, the lootcontainer tags have an ID attribute that appears to be a unique ID between 0 and 1023. TFP declarations appear to be from 1-157 and 500-551. It seems easy for a modder to pick ID numbers that don't collide with TFP. Is there a convention modders are using to avoid colliding with each other? Link to comment Share on other sites More sharing options...
Telric Posted August 7, 2022 Share Posted August 7, 2022 ID numbers no longer matter. They can be omitted from the code. Loot is called from the lootcontainer name now. As far as not colliding with others, easiest way would be to add your name or some kind of prefix to it. IE: ZZTongBirdnest... Doubt anyone would ever come up with an identical name. lol Link to comment Share on other sites More sharing options...
zztong Posted August 7, 2022 Author Share Posted August 7, 2022 2 hours ago, Telric said: ID numbers no longer matter. Oh, well there we go. Thanks for the info. Link to comment Share on other sites More sharing options...
The_Dream Posted August 9, 2022 Share Posted August 9, 2022 According to practice is better use prefix-tag (3-4 letters) + vanilla name. Like this "tdmDoorMetalVariantHelper" This this applies to both groups and items. If you think about UX. For example if u created some items prefix tag it`s help arrange this items near. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.