mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
Merge pull request #4328 from CHOMPStation2/upstream-merge-13038
[MIRROR] Makes new pAI obtainable
This commit is contained in:
@@ -418,3 +418,11 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/device/paicard)
|
||||
/obj/item/device/paicard/typeb
|
||||
name = "personal AI device"
|
||||
icon = 'icons/obj/paicard.dmi'
|
||||
|
||||
/obj/random/paicard
|
||||
name = "personal AI device spawner"
|
||||
icon = 'icons/obj/paicard.dmi'
|
||||
icon_state = "pai"
|
||||
|
||||
/obj/random/paicard/item_to_spawn()
|
||||
return pick(/obj/item/device/paicard ,/obj/item/device/paicard/typeb)
|
||||
@@ -72,9 +72,13 @@
|
||||
path = /obj/item/weapon/folder/yellow
|
||||
|
||||
/datum/gear/utility/paicard
|
||||
display_name = "personal AI device"
|
||||
display_name = "personal AI device (classic)"
|
||||
path = /obj/item/device/paicard
|
||||
|
||||
/datum/gear/utility/paicard_b
|
||||
display_name = "personal AI device (new)"
|
||||
path = /obj/item/device/paicard/typeb
|
||||
|
||||
/datum/gear/utility/securecase
|
||||
display_name = "secure briefcase"
|
||||
path =/obj/item/weapon/storage/secure/briefcase
|
||||
|
||||
@@ -158,6 +158,12 @@
|
||||
emote_sound = pick(smolsound)
|
||||
else
|
||||
emote_sound = pick(bigsound)
|
||||
else if(istype(user, /mob/living/silicon/pai))
|
||||
var/mob/living/silicon/pai/me = user
|
||||
if(me.chassis == "teppi")
|
||||
emote_sound = pick(bigsound)
|
||||
else
|
||||
emote_sound = pick(smolsound)
|
||||
else if(user.size_multiplier >= 1.5)
|
||||
emote_sound = pick(bigsound)
|
||||
else
|
||||
|
||||
@@ -48,7 +48,8 @@
|
||||
"Duffel" = "pai-duffel",
|
||||
"Rat" = "rat",
|
||||
"Panther" = "panther",
|
||||
"Cyber Elf" = "cyberelf"
|
||||
"Cyber Elf" = "cyberelf",
|
||||
"Teppi" = "teppi"
|
||||
//VOREStation Addition End
|
||||
)
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
var/eye_color = "#00ff0d"
|
||||
var/global/list/wide_chassis = list(
|
||||
"rat",
|
||||
"panther"
|
||||
"panther",
|
||||
"teppi"
|
||||
)
|
||||
var/global/list/flying_chassis = list(
|
||||
"pai-parrot",
|
||||
@@ -35,7 +36,8 @@
|
||||
"panther",
|
||||
"pai-bear",
|
||||
"pai-fen",
|
||||
"cyberelf"
|
||||
"cyberelf",
|
||||
"teppi"
|
||||
)
|
||||
|
||||
/mob/living/silicon/pai/Initialize()
|
||||
@@ -80,6 +82,12 @@
|
||||
icon_state = "[chassis]_rest_full"
|
||||
else
|
||||
icon_state = "[chassis]_rest"
|
||||
if(chassis in wide_chassis)
|
||||
pixel_x = -16
|
||||
default_pixel_x = -16
|
||||
else
|
||||
pixel_x = 0
|
||||
default_pixel_x = 0
|
||||
add_eyes()
|
||||
|
||||
/mob/living/silicon/pai/update_icons() //And other functions cause this to occur, such as digesting someone.
|
||||
@@ -93,6 +101,12 @@
|
||||
icon_state = "[chassis]_full"
|
||||
else if(people_eaten && resting)
|
||||
icon_state = "[chassis]_rest_full"
|
||||
if(chassis in wide_chassis)
|
||||
pixel_x = -16
|
||||
default_pixel_x = -16
|
||||
else
|
||||
pixel_x = 0
|
||||
default_pixel_x = 0
|
||||
add_eyes()
|
||||
|
||||
//proc override to avoid pAI players being invisible while the chassis selection window is open
|
||||
@@ -106,11 +120,9 @@
|
||||
chassis = possible_chassis[choice]
|
||||
if(chassis in wide_chassis)
|
||||
icon = 'icons/mob/pai_vr64x64.dmi'
|
||||
pixel_x = -16
|
||||
vis_height = 64
|
||||
else
|
||||
icon = 'icons/mob/pai_vr.dmi'
|
||||
pixel_x = 0
|
||||
vis_height = 32
|
||||
|
||||
if(chassis in flying_chassis)
|
||||
@@ -167,4 +179,4 @@
|
||||
if(chassis in allows_eye_color)
|
||||
cut_overlay(eye_layer)
|
||||
qdel(eye_layer)
|
||||
eye_layer = null
|
||||
eye_layer = null
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 40 KiB |
@@ -921,7 +921,7 @@ lel
|
||||
/obj/random/tech_supply,
|
||||
/obj/random/tech_supply,
|
||||
/obj/random/tech_supply,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/groundbase/civilian/toolstorage)
|
||||
"cr" = (
|
||||
@@ -5650,7 +5650,7 @@ lel
|
||||
/area/groundbase/security/lobby)
|
||||
"nU" = (
|
||||
/obj/structure/table/reinforced,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/machinery/recharger{
|
||||
pixel_y = 5
|
||||
},
|
||||
@@ -7505,6 +7505,20 @@ lel
|
||||
},
|
||||
/turf/simulated/floor/tiled/dark,
|
||||
/area/groundbase/security/lobby)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"sq" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/random/paicard,
|
||||
/obj/structure/cable/yellow{
|
||||
icon_state = "2-8"
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
|
||||
dir = 6
|
||||
},
|
||||
/turf/simulated/floor/carpet/turcarpet,
|
||||
/area/groundbase/civilian/gameroom)
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
"sr" = (
|
||||
/obj/structure/toilet,
|
||||
/obj/machinery/button/remote/airlock{
|
||||
|
||||
@@ -5193,7 +5193,7 @@
|
||||
/area/groundbase/command/hop)
|
||||
"pA" = (
|
||||
/obj/structure/table/hardwoodtable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/structure/cable/yellow{
|
||||
icon_state = "1-2"
|
||||
},
|
||||
@@ -8757,7 +8757,7 @@
|
||||
pixel_y = 4
|
||||
},
|
||||
/obj/item/weapon/circuitboard/teleporter,
|
||||
/obj/item/device/paicard{
|
||||
/obj/random/paicard{
|
||||
pixel_x = 4
|
||||
},
|
||||
/obj/item/device/taperecorder{
|
||||
|
||||
@@ -105,8 +105,8 @@
|
||||
/area/abductor)
|
||||
"hj" = (
|
||||
/obj/structure/table/alien,
|
||||
/obj/item/device/paicard,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/shuttle/floor/alienplating,
|
||||
/area/abductor)
|
||||
"hq" = (
|
||||
|
||||
@@ -6379,7 +6379,7 @@
|
||||
/area/itglight/common)
|
||||
"MF" = (
|
||||
/obj/structure/table/wooden_reinforced,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/glass/reinforced,
|
||||
/area/itglight/common)
|
||||
"MG" = (
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
/obj/machinery/light/small{
|
||||
dir = 1
|
||||
},
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled/techfloor,
|
||||
/area/talon_v2/workroom)
|
||||
"ax" = (
|
||||
@@ -15515,7 +15515,7 @@
|
||||
/area/talon_v2/crew_quarters/eng_room)
|
||||
"Xi" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/wood,
|
||||
/area/talon_v2/crew_quarters/meditation)
|
||||
"Xl" = (
|
||||
|
||||
@@ -21694,7 +21694,7 @@
|
||||
/area/library)
|
||||
"Uj" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
|
||||
dir = 4
|
||||
},
|
||||
|
||||
@@ -5699,7 +5699,7 @@
|
||||
/area/maintenance/stellardelight/deck2/atmos)
|
||||
"mJ" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled/eris/steel/brown_platform,
|
||||
/area/crew_quarters/bar)
|
||||
"mK" = (
|
||||
@@ -7921,7 +7921,7 @@
|
||||
/obj/random/tech_supply,
|
||||
/obj/random/tech_supply,
|
||||
/obj/random/tech_supply,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/machinery/atmospherics/unary/vent_pump/on,
|
||||
/obj/machinery/newscaster{
|
||||
pixel_y = 28
|
||||
@@ -21786,7 +21786,7 @@
|
||||
/area/medical/reception)
|
||||
"WR" = (
|
||||
/obj/structure/table/wooden_reinforced,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled/eris/dark/cargo,
|
||||
/area/crew_quarters/recreation_area)
|
||||
"WS" = (
|
||||
|
||||
@@ -1605,7 +1605,7 @@
|
||||
/area/maintenance/stellardelight/deck3/foreportroomb)
|
||||
"gk" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/wood,
|
||||
/area/stellardelight/deck3/cafe)
|
||||
"gl" = (
|
||||
@@ -5050,7 +5050,7 @@
|
||||
/area/space)
|
||||
"sI" = (
|
||||
/obj/structure/table/standard,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/machinery/atmospherics/unary/vent_scrubber/on,
|
||||
/turf/simulated/floor/bluegrid,
|
||||
/area/ai_cyborg_station)
|
||||
@@ -10231,7 +10231,7 @@
|
||||
/turf/simulated/floor,
|
||||
/area/maintenance/stellardelight/deck3/starboardaft)
|
||||
"Lm" = (
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/structure/table/glass,
|
||||
/obj/machinery/camera/network/civilian{
|
||||
dir = 8
|
||||
@@ -13680,7 +13680,7 @@
|
||||
name = "station intercom (Science)";
|
||||
pixel_y = 24
|
||||
},
|
||||
/obj/item/device/paicard{
|
||||
/obj/random/paicard{
|
||||
pixel_x = 4
|
||||
},
|
||||
/obj/item/weapon/paper_bin{
|
||||
|
||||
@@ -432,7 +432,7 @@
|
||||
/area/ninja_dojo/dojo)
|
||||
"bc" = (
|
||||
/obj/structure/table/steel_reinforced,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/obj/item/device/pda/syndicate,
|
||||
/turf/simulated/shuttle/floor/voidcraft/light,
|
||||
/area/shuttle/ninja)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/area/skipjack_station)
|
||||
"ad" = (
|
||||
/obj/structure/table/standard,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/unsimulated/floor{
|
||||
icon_state = "steel"
|
||||
},
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
/area/wizard_station)
|
||||
"aB" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/unsimulated/floor{
|
||||
dir = 8;
|
||||
icon_state = "wood"
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
},
|
||||
/area/submap/cave/qShuttle)
|
||||
"aX" = (
|
||||
/obj/item/device/paicard,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/shuttle/floor{
|
||||
icon_state = "floor_yellow"
|
||||
},
|
||||
|
||||
@@ -7795,6 +7795,10 @@
|
||||
pixel_x = 32
|
||||
},
|
||||
/obj/structure/table/standard,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/storage/primary)
|
||||
"amW" = (
|
||||
@@ -29178,6 +29182,10 @@
|
||||
dir = 8
|
||||
},
|
||||
/obj/structure/table/standard,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/crew_quarters/visitor_laundry)
|
||||
"aWW" = (
|
||||
@@ -34030,6 +34038,21 @@
|
||||
},
|
||||
/turf/simulated/floor/plating,
|
||||
/area/maintenance/lower/mining_eva)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"hTk" = (
|
||||
/obj/structure/table/standard{
|
||||
name = "plastic table frame"
|
||||
},
|
||||
/obj/structure/cable/orange{
|
||||
d1 = 4;
|
||||
d2 = 8;
|
||||
icon_state = "4-8"
|
||||
},
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/crew_quarters/locker)
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
"hTw" = (
|
||||
/obj/structure/cable/green{
|
||||
d1 = 1;
|
||||
|
||||
@@ -13229,6 +13229,10 @@
|
||||
/obj/machinery/recharger,
|
||||
/obj/item/weapon/storage/toolbox/mechanical,
|
||||
/obj/random/drinkbottle,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/tiled/techfloor,
|
||||
/area/maintenance/lower/bar)
|
||||
"avg" = (
|
||||
@@ -22139,7 +22143,7 @@
|
||||
/obj/item/device/taperecorder{
|
||||
pixel_x = -3
|
||||
},
|
||||
/obj/item/device/paicard{
|
||||
/obj/random/paicard{
|
||||
pixel_x = 4
|
||||
},
|
||||
/obj/item/weapon/circuitboard/teleporter,
|
||||
@@ -31006,6 +31010,13 @@
|
||||
/obj/machinery/atmospherics/unary/vent_scrubber/on{
|
||||
dir = 4
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/structure/sign/painting/public{
|
||||
pixel_x = -30
|
||||
},
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/wood,
|
||||
/area/tether/surfacebase/reading_room)
|
||||
"biK" = (
|
||||
@@ -31859,6 +31870,10 @@
|
||||
pixel_x = -23
|
||||
},
|
||||
/obj/random/junk,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/plating,
|
||||
/area/maintenance/lower/atmos)
|
||||
"bkE" = (
|
||||
|
||||
@@ -8550,6 +8550,10 @@
|
||||
/obj/machinery/atmospherics/unary/vent_pump/on{
|
||||
dir = 8
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/wood,
|
||||
/area/crew_quarters/recreation_area)
|
||||
"anb" = (
|
||||
@@ -9997,6 +10001,10 @@
|
||||
/obj/random/maintenance/medical,
|
||||
/obj/random/maintenance/clean,
|
||||
/obj/random/maintenance/clean,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/plating,
|
||||
/area/tether/surfacebase/surface_three_hall)
|
||||
"apA" = (
|
||||
@@ -41183,6 +41191,30 @@
|
||||
},
|
||||
/turf/simulated/floor/carpet,
|
||||
/area/tether/surfacebase/security/hos)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"lHr" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/wood,
|
||||
/area/tether/surfacebase/entertainment)
|
||||
"lIe" = (
|
||||
/obj/effect/floor_decal/borderfloor,
|
||||
/obj/effect/floor_decal/corner/lightgrey/border,
|
||||
/obj/effect/floor_decal/steeldecal/steel_decals7{
|
||||
dir = 8
|
||||
},
|
||||
/obj/effect/floor_decal/steeldecal/steel_decals7{
|
||||
dir = 1
|
||||
},
|
||||
/obj/structure/cable/orange{
|
||||
d1 = 4;
|
||||
d2 = 8;
|
||||
icon_state = "4-8"
|
||||
},
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/hallway/lower/third_south)
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
"lMj" = (
|
||||
/obj/structure/window/reinforced,
|
||||
/obj/structure/window/reinforced{
|
||||
|
||||
@@ -1182,7 +1182,20 @@
|
||||
},
|
||||
/turf/simulated/floor/tiled/dark,
|
||||
/area/tether/midpoint)
|
||||
<<<<<<< HEAD
|
||||
"Y" = (
|
||||
=======
|
||||
"Ud" = (
|
||||
/obj/structure/table/woodentable,
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/midpoint_glass/reinf,
|
||||
/area/tether/midpoint)
|
||||
"Ui" = (
|
||||
/obj/structure/disposalpipe/segment{
|
||||
dir = 4;
|
||||
icon_state = "pipe-c"
|
||||
},
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/obj/structure/cable{
|
||||
d1 = 4;
|
||||
d2 = 8;
|
||||
|
||||
@@ -842,6 +842,38 @@
|
||||
"abZ" = (
|
||||
/turf/simulated/wall/r_wall,
|
||||
/area/engineering/atmos/backup)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"aca" = (
|
||||
/obj/machinery/holoposter{
|
||||
pixel_y = -30
|
||||
},
|
||||
/obj/structure/table/standard,
|
||||
/obj/random/soap,
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
|
||||
dir = 4
|
||||
},
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/teleporter/departing)
|
||||
"acb" = (
|
||||
/obj/machinery/firealarm{
|
||||
dir = 1;
|
||||
pixel_y = -24
|
||||
},
|
||||
/obj/structure/table/standard,
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
|
||||
dir = 4
|
||||
},
|
||||
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
|
||||
dir = 4
|
||||
},
|
||||
/obj/random/paicard,
|
||||
/turf/simulated/floor/tiled,
|
||||
/area/teleporter/departing)
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
"acc" = (
|
||||
/obj/structure/grille,
|
||||
/obj/machinery/door/firedoor/glass,
|
||||
@@ -27147,6 +27179,10 @@
|
||||
/obj/random/maintenance/clean,
|
||||
/obj/random/maintenance/clean,
|
||||
/obj/random/junk,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor,
|
||||
/area/maintenance/station/exploration)
|
||||
"lVJ" = (
|
||||
@@ -29076,6 +29112,10 @@
|
||||
layer = 2.9
|
||||
},
|
||||
/obj/random/junk,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
/obj/random/paicard,
|
||||
>>>>>>> 1df6e69b74... Merge pull request #13038 from Very-Soft/teppipai
|
||||
/turf/simulated/floor/plating,
|
||||
/area/maintenance/station/cargo)
|
||||
"nCS" = (
|
||||
|
||||
Reference in New Issue
Block a user