There's a bounty for this right? i spent nearly two full days at this
This commit is contained in:
@@ -475,7 +475,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
var/area/A = V
|
||||
if(!A.hidden)
|
||||
filtered += A
|
||||
var/area/thearea = input("Area to jump to", "BOOYEA") as null|anything in filtered
|
||||
var/area/thearea = tgui_input_list(usr, "Area to jump to", "BOOYEA", filtered)
|
||||
|
||||
if(!thearea)
|
||||
return
|
||||
@@ -557,7 +557,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
var/target = null //Chosen target.
|
||||
|
||||
dest += getpois(mobs_only = TRUE) //Fill list, prompt user with list
|
||||
target = input("Please, select a player!", "Jump to Mob", null, null) as null|anything in dest
|
||||
target = tgui_input_list(usr, "Please, select a player!", "Jump to Mob", dest)
|
||||
|
||||
if (!target)//Make sure we actually have a target
|
||||
return
|
||||
@@ -582,7 +582,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
var/list/views = list()
|
||||
for(var/i in 7 to max_view)
|
||||
views |= i
|
||||
var/new_view = input("Choose your new view", "Modify view range", 0) as null|anything in views
|
||||
var/new_view = tgui_input_list(usr, "Choose your new view", "Modify view range", views)
|
||||
if(new_view)
|
||||
client.view_size.setTo(clamp(new_view, 7, max_view) - 7)
|
||||
else
|
||||
@@ -697,7 +697,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(!(L in GLOB.player_list) && !L.mind)
|
||||
possessible += L
|
||||
|
||||
var/mob/living/target = input("Your new life begins today!", "Possess Mob", null, null) as null|anything in possessible
|
||||
var/mob/living/target = tgui_input_list(usr, "Your new life begins today!", "Possess Mob", possessible)
|
||||
|
||||
if(!target)
|
||||
return 0
|
||||
@@ -888,7 +888,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
var/eye_name = null
|
||||
|
||||
eye_name = input("Please, select a player!", "Observe", null, null) as null|anything in creatures
|
||||
eye_name = tgui_input_list(usr, "Please, select a player!", "Observe", creatures)
|
||||
|
||||
if (!eye_name)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user