mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Better borg modules (#17507)
* Combines all the engineering borg tools into one multitool Sprites from /tg/ Combines: Wirecutters, Crowbar, Welder, Wrench, Crowbar, Screwdriver * this is a WAY better way to do it * a * dont worry about overlays anymore * Better grippers and better lists In which I go insane having to continually patch exploit after exploit in gripper code, resulting in it looking like a mad man's scribbles. * No deleting shoes when putting them on someone * empty pocket is now empty * RENAMING stuff instead of copypaste * MORE borg stuff * more bugproofing * Admin proc * this * this * Framework for TGUI * Update robot_simple_items.dm * Fix * Framework v2 * Update ModifyRobotMultiBelt.tsx * goooo * Update modify_robot.dm * modify * sub category * . * string to define * some globs * more * . * . * . * add sanely * push that real quick * . * sanity * . * . * . * . * . * . * . * Cut * . * gives to those that need * push * clean up * auto fix * . * . * . * getmodule * Update robot_simple_items.dm * . * untyped * Update stack.dm * . * . * . * . * - * . * Update _map_selection.dm * Update _map_selection.dm --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
ff07e2aa4f
commit
3b4bcef49b
@@ -10,7 +10,7 @@
|
||||
. = ..()
|
||||
if(!reference)
|
||||
// testing("First overmap descriptor, name: [name]")
|
||||
for(var/obj/effect/overmap/visitable/D in visitable_overmap_object_instances)
|
||||
for(var/obj/effect/overmap/visitable/D in GLOB.visitable_overmap_object_instances)
|
||||
if(D.unique_identifier == "Debris Field")
|
||||
if(D.possible_descriptors && islist(D.possible_descriptors))
|
||||
D.possible_descriptors |= list(descriptors)
|
||||
|
||||
@@ -51,14 +51,14 @@ How to use - for mappers:
|
||||
Important procs, vars etc. contained within the following files:
|
||||
|
||||
code\_helpers\global_lists_vr.dm
|
||||
var/list/visitable_overmap_object_instances - Collects instances with reference for things like the Debris Field, Space Whale, Talon etc. We need it to call the proc on the instance
|
||||
GLOBAL_LIST_EMPTY(visitable_overmap_object_instances) - Collects instances with reference for things like the Debris Field, Space Whale, Talon etc. We need it to call the proc on the instance
|
||||
|
||||
code\modules\overmap\sectors.dm
|
||||
var/list/possible_descriptors - contains a list of list("name","desc","scanner_desc")
|
||||
var/unique_identifier - A way to check if the object in question loaded without causing a compiler error. Name them sth easy to recognize, like "Debris field" for... debris field.
|
||||
var/real_name - Used to handle known = FALSE overmap objects properly
|
||||
var/real_desc - same as real_name
|
||||
/obj/effect/overmap/visitable/Initialize() - adds the object's instance with reference to visitable_overmap_object_instances
|
||||
/obj/effect/overmap/visitable/Initialize() - adds the object's instance with reference to GLOB.visitable_overmap_object_instances
|
||||
|
||||
code\modules\awaymissions\overmap_renamer\overmap_renamer.dm
|
||||
/obj/effect/overmap/visitable/proc/modify_descriptors() - Takes possible_descriptors from src, picks a valid one after sanitization. Gives warnings if input is invalid.
|
||||
|
||||
Reference in New Issue
Block a user