-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port: supply pods launcher admin button (#6305)
* port: supply pods launcher admin button * fix * light fix * Reverce pods fix + map fix * limb effect fix * Update tgui.bundle.js * conflicts fixes * Update tgui.bundle.js
- Loading branch information
1 parent
e0a7853
commit e5d3527
Showing
74 changed files
with
5,576 additions
and
834 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#define STYLE_STANDARD 1 | ||
#define STYLE_BLUESPACE 2 | ||
#define STYLE_CENTCOM 3 | ||
#define STYLE_SYNDICATE 4 | ||
#define STYLE_BLUE 5 | ||
#define STYLE_CULT 6 | ||
#define STYLE_MISSILE 7 | ||
#define STYLE_RED_MISSILE 8 | ||
#define STYLE_BOX 9 | ||
#define STYLE_HONK 10 | ||
#define STYLE_FRUIT 11 | ||
#define STYLE_INVISIBLE 12 | ||
#define STYLE_GONDOLA 13 | ||
|
||
#define POD_ICON_STATE 1 | ||
#define POD_NAME 2 | ||
#define POD_DESC 3 | ||
|
||
#define POD_SHAPE_NORMAL 1 | ||
#define POD_SHAPE_OTHER 2 | ||
|
||
#define RUBBLE_NONE 1 | ||
#define RUBBLE_NORMAL 2 | ||
#define RUBBLE_WIDE 3 | ||
#define RUBBLE_THIN 4 | ||
|
||
#define POD_TRANSIT "1" | ||
#define POD_FALLING "2" | ||
#define POD_OPENING "3" | ||
#define POD_LEAVING "4" | ||
|
||
#define MOB_OPTION "Mobs" | ||
#define UNANCHORED_OPTION "Unanchored" | ||
#define ANCHORED_OPTION "Anchored" | ||
#define MECHA_OPTION "Mecha" | ||
|
||
#define SUPPLYPOD_X_OFFSET -16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
///Returns a random turf on the station | ||
/proc/get_random_station_turf() | ||
var/list/turfs = get_area_turfs(pick(SSmapping.existing_station_areas)) | ||
if (length(turfs)) | ||
return pick(turfs) | ||
|
||
///Returns a random turf on the station, excludes dense turfs (like walls) and areas that have valid_territory set to FALSE | ||
/proc/get_safe_random_station_turf(list/areas_to_pick_from = SSmapping.existing_station_areas) | ||
for (var/i in 1 to 5) | ||
var/list/turf_list = get_area_turfs(pick(areas_to_pick_from)) | ||
var/turf/target | ||
while (turf_list.len && !target) | ||
var/I = rand(1, turf_list.len) | ||
var/turf/checked_turf = turf_list[I] | ||
var/area/turf_area = get_area(checked_turf) | ||
if(!checked_turf.density && (turf_area.valid_territory) && !isgroundlessturf(checked_turf)) | ||
var/clear = TRUE | ||
for(var/obj/checked_object in checked_turf) | ||
if(checked_object.density) | ||
clear = FALSE | ||
break | ||
if(clear) | ||
target = checked_turf | ||
if (!target) | ||
turf_list.Cut(I, I + 1) | ||
if (target) | ||
return target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.