Repeating vnums between rooms/npcs/objects
Opened this issue · 1 comments
Deleted user commented
I've noticed that vnums are used to uniquely identify the listed items (rooms, objs, mobs). For instance exits refer to which rooms they lead to via vnum. However rooms, objs and mobs all start their vnums from 3000 leading to the numbers not being unique.
In preparing an Evennia batchcode generator I've leaned towards r3000 for rooms, o3000 for objects and m3000 for mobs but it might also be more consistent to organise not doubling up numbers.
ctoth commented
This is how ROM represents vnums, with context allowing one to determine
which is used. I am reluctant to change this.
…On 4/29/2017 7:59 PM, CloudKeeper1 wrote:
I've noticed that vnums are used to uniquely identify the listed items
(rooms, objs, mobs). For instance exits refer to which rooms they lead
to via vnum. However rooms, objs and mobs all start their vnums from
3000 leading to the numbers not being unique.
In preparing a batchcode generator I've leaned towards r3000 for
rooms, o3000 for objects and m3000 for mobs but it might also be more
consistent to organise not doubling up numbers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOcCPsGwnbauNIxl6_BeSDC4KKTcYd_ks5r0-r0gaJpZM4NMcNt>.
--
-Q
Accessible Software for the Blind
http://GetAccessibleApps.com