-
-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental DMF vending machine update, by Tobba.
Pretty sure everyone who cares knows about this already, but the low down is that shit is more responsive and potentially prettier. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2529 316c924e-a436-60f5-8080-3fe189b3f50e
- Loading branch information
1 parent
38d9077
commit 5545d03
Showing
6 changed files
with
594 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.