mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Improvements on TCS and the NTSL default namespace.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3208 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
program.SetVar("PI" , 3.141592653) // value of pi
|
||||
program.SetVar("E" , 2.718281828) // value of e
|
||||
program.SetVar("SQURT2" , 1.414213562) // value of the square root of 2
|
||||
program.SetVar("false" , 0) // boolean shortcut to 0
|
||||
program.SetVar("true" , 1) // boolean shortcut to 1
|
||||
program.SetVar("FALSE" , 0) // boolean shortcut to 0
|
||||
program.SetVar("TRUE" , 1) // boolean shortcut to 1
|
||||
|
||||
program.SetVar("NORTH" , NORTH) // NORTH (1)
|
||||
program.SetVar("SOUTH" , SOUTH) // SOUTH (2)
|
||||
@@ -146,6 +146,7 @@
|
||||
|
||||
interpreter.SetProc("pick", /proc/n_pick)
|
||||
interpreter.SetProc("prob", /proc/prob_chance)
|
||||
interpreter.SetProc("substr", /proc/docopytext)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user