//Ex:
monster
var/strength=1000000
mob/Login()
var/monster/monsters[1] //Makes a list with a dantom type of monster
monsters[1] = new /monster
world.log << monsters[1].strength
ID:1974650
Oct 30 2015, 1:14 pm
|
|||||||
| |||||||
The ability to set a list into a dantom type on creation. This will allow the list to be able to use procs/vars from that dantom type when using . or : path operators after the [] index operator.
//Ex: monster |
Oct 30 2015, 1:18 pm
|
|
Typed lists aren't really a thing in DM, so that'd be a radical change for the language. I'm pretty sure there's already a feature request for this, though.
|
I believe you mean datum, not Dantom ;)
|