JohnGames
|
New Build Verbs (won't be hard)This is just two verbs I would LOVE in game, and they would be simple to code!
Easiest to code:
Delete all objects in view: deletes all objects you built in view
Delete all objects: deletes all objects you built
and I would like to see multi edit, witch replaces one specific object with another, with the option of in view or all objects you built. Exa: Changing your walls from wood to orange, or doing fast floor changes.
And before anyone jumps on me saying "how do you know it would be simple or not." Mech has delete all objects coded, and only needs a slight modification for ingame. And delete all objects in view would only require a few lines (unless you did it by tile instead of range). The multi edit I am unsure of.
|
jeff8500
|
I dont know what your talking about with the last 2 ideas but...
mob/verb
Delete_all_your_objects_in_view()
for(var/obj/O in view())
if(O.owner == usr)
del(O)
Delete_all_your_objects()
for(var/obj/O in world)
if(O.owner == usr)
del(O)
There mech can just add that and the tabs.
|
SPF5000
|
lets hear a shout out for the piggy guy....
|
jeff8500
|
>_< No im spider pig.
|
Katsuri
|
that could also be a proc....
mob/proc
Delete_all_your_objects_in_view()
for(var/obj/O in view())
if(O.owner == usr)
del(O)
Delete_all_your_objects()
for(var/obj/O in world)
if(O.owner == usr)
del(O)
//then for the commands.....
mob/verb
delete_all_in_veiw()
category = "Commands"
Delete_all_your_objects_in_veiw()
i r smart XD
|
JohnGames
|
A multiedit would replace the icon out of multiple objects. For example lets say you place a floor down but want to change it later, you could change all said objects icons.
|
jeff8500
|
You could do that too. Something I just thought of is what if someone accidently hits it lol. They would be screwed XD.
mob/verb
Delete_all_your_objects_in_view()
switch(alert(usr,"Would you like to delete all your objects in view?","mass delete of fun-ness","Yes Pl0x","NEVER!"))
if("Yes Pl0x")
for(var/obj/O in view())
if(O.owner == usr)
del(O)
Delete_all_your_objects()
switch(alert(usr,"Would you like to delete all your objects in teh entire magmos region?","mass delete of fun-ness","Yes Pl0x","NEVER!"))
if("Yes Pl0x")
for(var/obj/O in world)
if(O.owner == usr)
del(O)
|
|
|