mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 15:11:38 +00:00
* initial edits * initial edits * converting shit over to machinery/economy * vending and mapping fixes * vending fix pt.2 * Converts Supply Economy to Use Space Credits instead of Supply Points * Job Payment, NanoBank, and Paychecks * clothing type path fixes (damn merge conflicts) * fixes map typepath issues * adjusts supply prices * Vendor Price Adjustments * account uplink terminal tweaks * please pass tests * Apply suggestions from code review Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * reviews and bug fixes * Review Suggestions/Fixes and Request Console Rewrite * edits * vending changes for merge * typepath fix * final tweaks * proc ref fixes * Fixes and Tweaks from 2nd TM * rebuild TGUI * final tweaks * Apply suggestions from code review Co-authored-by: Farie82 <farie82@users.noreply.github.com> * requested reviews * tweaks * updates slot machine winnings * fixes * GC fixes * fixes * oops. still need to deconflict this * Apply suggestions from code review Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * requested changes and bug fixes * atm runtime fix * requested reviews * vend act stuff * attempt to pass tests * supply packs fix * user tochat -> debug log * FINAL FIXES * removes CC db stuff * Apply suggestions from code review Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
35 lines
970 B
Plaintext
35 lines
970 B
Plaintext
/datum/supply_packs
|
|
var/name
|
|
var/list/contains = list()
|
|
var/manifest = ""
|
|
var/amount
|
|
var/cost //default amount to cover crate cost?
|
|
var/containertype = /obj/structure/closet/crate
|
|
var/containername
|
|
var/access
|
|
var/hidden = FALSE
|
|
var/contraband = FALSE
|
|
var/group = SUPPLY_MISC
|
|
///Determines which departments do not need QM approval to order this supply pack
|
|
var/list/department_restrictions = list()
|
|
|
|
var/list/announce_beacons = list() // Particular beacons that we'll notify the relevant department when we reach
|
|
|
|
var/special = FALSE //Event/Station Goals/Admin enabled packs
|
|
var/special_enabled = FALSE
|
|
|
|
/// List of names for being done in TGUI
|
|
var/list/ui_manifest = list()
|
|
|
|
/datum/supply_packs/New()
|
|
. = ..()
|
|
manifest += "<ul>"
|
|
for(var/path in contains)
|
|
if(!path)
|
|
continue
|
|
var/atom/movable/AM = path
|
|
manifest += "<li>[initial(AM.name)]</li>"
|
|
//Add the name to the UI manifest
|
|
ui_manifest += "[initial(AM.name)]"
|
|
manifest += "</ul>"
|