mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 02:58:45 +01:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commitafbdd1d844. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commitde22ad375d. * Attempt to normalize example.yml (and another file I guess) * Try again
13 lines
397 B
Plaintext
13 lines
397 B
Plaintext
/mob/var/skincmds = list()
|
|
/obj/proc/SkinCmd(mob/user as mob, var/data as text)
|
|
|
|
/proc/SkinCmdRegister(var/mob/user, var/name as text, var/O as obj)
|
|
user.skincmds[name] = O
|
|
|
|
/mob/verb/skincmd(data as text)
|
|
set hidden = 1
|
|
|
|
var/ref = copytext(data, 1, findtext(data, ";"))
|
|
if (src.skincmds[ref] != null)
|
|
var/obj/a = src.skincmds[ref]
|
|
a.SkinCmd(src, copytext(data, findtext(data, ";") + 1)) |