mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
SCIENCE! Update:
- More R&D stuff. Moved code from code/datums/technology to code/game/research (more apt and it isn't JUST datums now). Still very WIP. - Circuit printer now requires Sulfuric Acid instead of H2SO4. (Yes, I get the irony) - New helper proc: between(low, middle, high). It returns middle unless it is greater than high (in which case, it returns high) or less than low (in which case it returns low). It's a fairly simple proc but it cleans up some bits of code I am working on. - Changeling chem regeneration is now a curve rather then a flat amount. At low amounts (<20) it's faster then in r917, at high amounts it's slower (>20). This means you can use cheap abilities more often and expensive abilities less. - Changeling "Dart" abilities now named "sting" abilities to (Hopefully) cause less confusion. "Boost Dart Range" renamed "Ranged Sting." - Changeling "Absorb DNA" ability now not only doesn't cost chem to use, it actually regenerates a small amount (if successful). git-svn-id: http://tgstation13.googlecode.com/svn/trunk@929 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
var/changeling_level = 0
|
||||
var/list/absorbed_dna = list()
|
||||
var/changeling_fakedeath = 0
|
||||
var/chem_charges = 10.00
|
||||
var/chem_charges = 20.00
|
||||
var/sting_range = 1
|
||||
|
||||
|
||||
|
||||
@@ -829,4 +829,8 @@
|
||||
else
|
||||
dir = null
|
||||
return dir
|
||||
*/
|
||||
*/
|
||||
|
||||
//Makes sure MIDDLE is between LOW and HIGH. If not, it adjusts it. Returns the adjusted value.
|
||||
/proc/between(var/low, var/middle, var/high)
|
||||
return max(min(middle, high), low)
|
||||
Reference in New Issue
Block a user