mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 06:22:38 +00:00
Roped into porting a bunch of MORE stuff
This commit is contained in:
@@ -285,16 +285,3 @@ Proc for attack log creation, because really why not
|
||||
else
|
||||
. = getCompoundIcon(desired)
|
||||
cached_character_icons[cachekey] = .
|
||||
|
||||
/proc/getviewsize(view)
|
||||
var/viewX
|
||||
var/viewY
|
||||
if(isnum(view))
|
||||
var/totalviewrange = 1 + 2 * view
|
||||
viewX = totalviewrange
|
||||
viewY = totalviewrange
|
||||
else
|
||||
var/list/viewrangelist = splittext(view,"x")
|
||||
viewX = text2num(viewrangelist[1])
|
||||
viewY = text2num(viewrangelist[2])
|
||||
return list(viewX, viewY)
|
||||
|
||||
@@ -1402,10 +1402,7 @@ var/mob/dview/dview_mob = new
|
||||
list_or_datum[var_name] = var_value
|
||||
return
|
||||
var/datum/D = list_or_datum
|
||||
if(IsAdminAdvancedProcCall())
|
||||
D.vv_edit_var(var_name, var_value) //same result generally, unless badmemes
|
||||
else
|
||||
D.vars[var_name] = var_value
|
||||
D.vars[var_name] = var_value
|
||||
|
||||
// Returns direction-string, rounded to multiples of 22.5, from the first parameter to the second
|
||||
// N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW
|
||||
|
||||
Reference in New Issue
Block a user