mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-18 02:28:37 +01:00
Fixes item reclaimer (#19204)
This commit is contained in:
@@ -53,10 +53,13 @@
|
||||
var/list/data = list()
|
||||
var/can_reclaim = FALSE
|
||||
|
||||
if(allowed(user))
|
||||
can_reclaim = TRUE
|
||||
|
||||
if(inserted_id)
|
||||
data["id"] = inserted_id
|
||||
data["id"]["name"] = inserted_id.registered_name
|
||||
if(inserted_id.points >= inserted_id.goal || allowed(user))
|
||||
data["id_name"] = inserted_id.registered_name
|
||||
if(inserted_id.points >= inserted_id.goal)
|
||||
can_reclaim = TRUE
|
||||
|
||||
var/list/mobs = list()
|
||||
|
||||
+11
-11
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
<ui-display>
|
||||
<center><ui-button action="handle_id">{{data.id ? data.id.name : "-------------"}}</ui-button></center>
|
||||
<center><ui-button action="handle_id">{{data.id ? data.id_name : "-------------"}}</ui-button></center>
|
||||
</ui-display>
|
||||
<ui-display title='Stored Items'>
|
||||
{{#each data.mobs}}
|
||||
|
||||
Reference in New Issue
Block a user