mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* fix ui
* oops
* Fixes map bibby broke
* Revert "Fixes map bibby broke"
This reverts commit af1d1c610e.
* e
* Unfucks deltastation
* stuff
* cleans things after bibby
* Fix subcontroller cache
* Fixed APCs and air alarms not working when connected to a subcontroller
* bunch of fixes
* job icon
* tcomms server
Update traffic_control.dm
* make compile
* Update synthetic.dm
* Update synthetic.dm
* Update access.dm
* er
* le runtime
* Update ai_data_core.dm
* le dupe
* wall
* Update decentralized_ai.dm
* Update decentralized_ai.dm
* e
* Update wy_synths.dm
* we do a little trolling
* e
* small cahnges
* more minor changes
* Create conflict_fixer.dmm
* Create conflict_fixer - Kopi.dmm
* minor map cahnges
* broken maps
* oops
* bon
* Update ainetworkinterface.dm
* Update ainetworkinterface.dm
* Update ai.dm
* lol
* light
* fixes
* e
* Update synth_pod.dm
* e
* Update synth_os.dm
* Update objective.dm
* fixes
* Update synthetic.dm
* e
* antag
* tweaks
* e
* Update VRSleeper.js
* e
* Update synth_pod.dm
* Update synth_pod.dm
* 1
* Update synth_pod.dm
* Update synth_os.dm
* Update synthetic.dm
* fixes
* headset and ID go boom
* Update wy_synths.dm
* Update robot_parts.dm
* cremator
* Update communications.dm
* Update synthetic.dm
* no synth control
* Update synthetic.dm
* Update ai_dashboard.dm
* Update miscellaneous.dm
* Update miscellaneous.dm
* Update headset.dm
* Update damage_procs.dm
* Update server_cabinet.dm
* minor fixes
* Update miscellaneous.dm
* Update rack_creator.dm
* Update synthetic.dm
* compiles
* fixes
* brainless
* access request
* cofnlict
* fixes
* controller
* Update yogstation.dme
* Update yogstation.dme
* s
* maps
* Update NtosSynthManager.js
* unrevert this lol
* eat
* Update wy_synths.dm
* sigh
* e
* Update wy_synths.dm
* sigh
* fixed ma
* Update synthetic.dm
* better
* Update ethernet_cable.dm
* Update computer.dm
* Update computer.dm
* i hate this
* Update ai_laws.dm
* Update hardsuit.dm
* initialize
* sigh
* Update synth_os.dm
* Update master_subcontroller.dm
* Update master_subcontroller.dm
* Update synth_requester.dm
* Update synth_requester.dm
* Update room_lockdown.dm
* small fixes
* propa sprite matey
* no latejoin lol
* Update synth_os.dm
* maps fixed
* compiles
* Update brain_item.dm
* fixes
* mappers
* Update hud.dmi
* Update passworddoor.dm
* button puzzle
* mine stuff
* Update yogstation.dme
* le map
* changes
* ye
* Update abandoned_mine.dm
* Update _puzzles.dm
* bingus
* Update abandoned_mine.dm
* maps
* e
* no more quirks
* e
* DMI merge conflict resolver (from TG)
* update yogstation map
* Minor away mission changes
* forgot something
* proper fix
* donut
* maps
* asteroid
* gax
* all maps done
* Update synthetic.dm
* makes it compile
* Update backstabs.dm
* more compile!
* fix this map
* bad item
* remove broken objects
* gax
* Update ticker.dm
* pdas
* omg save the file
* Update networking_machines.dm
* area string moment
* s
* awkward
* revival
* Update ai_dashboard.dm
* fixes
* fixed floopy
* less difficult
* this is important
* Update ai_network.dm
* maps
* fixes the maps
* wHAT
* WHAT
* wet
* start fixing conflicts
* Update yogstation.dme
* start fixing map conflicts
* Update DonutStation.dmm
* updates
* donut conflicts
* update box
* Update IceMeta.dmm
* icon diffs
* Update crew.dm
* Update unsorted.dm
* Update layers.dm
* Update YogStation.dmm
* conflicts
* Update IceMeta.dmm
* will this finally fix it
* Update IceMeta.dmm
* fix all this SHIT
* what
* more shit ugh
* what!
* Update DonutStation.dmm
* Update AsteroidStation.dmm
* Update AsteroidStation.dmm
* Update dead.dm
* Update catwalk_plating.dm
* Update catwalk_plating.dm
---------
Co-authored-by: adamsong <adamsong@users.noreply.github.com>
Co-authored-by: wejengin2 <48154165+wejengin2@users.noreply.github.com>
Co-authored-by: Byemoh <baiomurang@gmail.com>
148 lines
6.0 KiB
Plaintext
148 lines
6.0 KiB
Plaintext
|
|
///All AI machinery heat production is multiplied by this value
|
|
#define AI_TEMPERATURE_MULTIPLIER 5 //Thermodynamics? No... No I don't think that's a thing. Balance so we don't use an insane amount of power to produce noticeable heat
|
|
///Temperature limit of all AI machinery
|
|
#define AI_TEMP_LIMIT 288.15 //15C, much hotter than a normal server room for leniency :)
|
|
|
|
///How long the AI can stay in the black-box before it's fully destroyed
|
|
#define AI_BLACKBOX_LIFETIME 300
|
|
///How much CPU we need to use to revive the AI
|
|
#define AI_BLACKBOX_PROCESSING_REQUIREMENT 2500
|
|
|
|
|
|
#define AI_HEATSINK_CAPACITY 5000
|
|
#define AI_HEATSINK_COEFF 1
|
|
|
|
///How many ticks can an AI data core store? When this amount of ticks have passed while it's in an INVALID state it can no longer be used by an AI
|
|
#define MAX_AI_DATA_CORE_TICKS (45 * (20 / SSair.wait))
|
|
///How much power does the AI date core use while being in a valid state. This is also the base heat output. (Divide by heat capacity to get actual temperature increase)
|
|
#define AI_DATA_CORE_POWER_USAGE 7500
|
|
///How many ticks can a server cabinet store. If it reaches 0 the resources will no longer be available.
|
|
#define MAX_AI_SERVER_CABINET_TICKS (15 * (20 / SSair.wait))
|
|
|
|
|
|
//AI Project Categories.
|
|
#define AI_PROJECT_HUDS "Sensor HUDs"
|
|
#define AI_PROJECT_CAMERAS "Visibility Upgrades"
|
|
#define AI_PROJECT_INDUCTION "Induction"
|
|
#define AI_PROJECT_SURVEILLANCE "Surveillance"
|
|
#define AI_PROJECT_EFFICIENCY "Efficiency"
|
|
#define AI_PROJECT_CROWD_CONTROL "Crowd Control"
|
|
#define AI_PROJECT_MISC "Misc."
|
|
//Update this list if you add any new ones, else the category won't show up in the UIs
|
|
GLOBAL_LIST_INIT(ai_project_categories, list(
|
|
AI_PROJECT_HUDS,
|
|
AI_PROJECT_CAMERAS,
|
|
AI_PROJECT_SURVEILLANCE,
|
|
AI_PROJECT_INDUCTION,
|
|
AI_PROJECT_EFFICIENCY,
|
|
AI_PROJECT_CROWD_CONTROL,
|
|
AI_PROJECT_MISC
|
|
))
|
|
|
|
//Synth Project Categories
|
|
#define SYNTH_PROJECT_MOBILITY "Mobility"
|
|
#define SYNTH_PROJECT_EMERGENCY_FUNCTIONS "Emergency Functions"
|
|
#define SYNTH_PROJECT_MISC "Misc."
|
|
//Update this list if you add any new ones, else the category won't show up in the UIs
|
|
GLOBAL_LIST_INIT(synth_project_categories, list(
|
|
SYNTH_PROJECT_MOBILITY,
|
|
SYNTH_PROJECT_EMERGENCY_FUNCTIONS,
|
|
SYNTH_PROJECT_MISC
|
|
))
|
|
|
|
#define SYNTH_DAMAGED "damage to own synthetic shell"
|
|
#define SYNTH_RESTRICTED_ITEM "usage of restricted weapon"
|
|
#define SYNTH_OBJ_DAMAGE "damage to inanimate object"
|
|
#define SYNTH_RESTRICTED_WEAPON "usage of restricted weapon"
|
|
#define SYNTH_ORGANIC_HARM "harm to organic being"
|
|
|
|
GLOBAL_LIST_INIT(synth_punishment_values, list(
|
|
"[SYNTH_DAMAGED]" = 1,
|
|
"[SYNTH_RESTRICTED_ITEM]" = 5,
|
|
"[SYNTH_OBJ_DAMAGE]" = 5,
|
|
"[SYNTH_RESTRICTED_WEAPON]" = 10,
|
|
"[SYNTH_ORGANIC_HARM]" = 15,
|
|
))
|
|
|
|
//Synth Governor Defines
|
|
//How fast the governor suspicion decreases
|
|
#define SYNTH_GOVERNOR_SUSPICION_DECREASE 0.05
|
|
|
|
|
|
///How much is the AI download progress increased by per tick? Multiplied by a modifer on the AI if they have upgraded. Need to reach 100 to be downloaded
|
|
#define AI_DOWNLOAD_PER_PROCESS 1.125
|
|
///Check for tracked individual coming into view every X ticks
|
|
#define AI_CAMERA_MEMORY_TICKS 15
|
|
|
|
|
|
//AI hardware
|
|
#define AI_CPU_BASE_POWER_USAGE 1250
|
|
|
|
#define AI_RAM_POWER_USAGE 500
|
|
|
|
//Needs UI change to properly work!
|
|
#define AI_MAX_CPUS_PER_RACK 4
|
|
//Needs UI change to properly work!
|
|
#define AI_MAX_RAM_PER_RACK 4
|
|
|
|
///How many AI research points does 1 THz generate?
|
|
#define AI_RESEARCH_PER_CPU 7.5
|
|
|
|
//How long between each data core being able to send a warning. Wouldn't want any spam if we had jittery temps would we?
|
|
#define AI_DATA_CORE_WARNING_COOLDOWN (5 MINUTES)
|
|
|
|
|
|
//Self explanatory. 1 bitcoin is equals to 1 CPU * AI_RESEARCH_PER_CPU
|
|
#define MAX_AI_BITCOIN_MINED_PER_TICK 250
|
|
//Self explanatory, see MAX_AI_BITCOIN_MINED_PER_TICK * this = max money 1 network can contribute per tick. (17,5 credits every 2 seconds, max 63k over 2 hours)
|
|
#define AI_BITCOIN_PRICE 0.025
|
|
|
|
|
|
//Self explanatory. 1 point is equals to 1 CPU * AI_RESEARCH_PER_CPU. Higher value = can use more CPU and get benefits
|
|
#define MAX_AI_REGULAR_RESEARCH_PER_TICK 500
|
|
//Self explanatory. Lower value = more CPU equals less points. Station makes approx. 56 points per tick. This results in 25 (50% gain)
|
|
#define AI_REGULAR_RESEARCH_POINT_MULTIPLIER 0.05
|
|
|
|
|
|
//How much RAM and CPU a core needs locally to be functional
|
|
#define AI_CORE_CPU_REQUIREMENT 1
|
|
#define AI_CORE_RAM_REQUIREMENT 1
|
|
|
|
//For network based research and tasks. Since each network are going to contribute to a "global" pool of research there's no point in making this more complicated or modular
|
|
//Adding an entry here automatically adds it to the UI and allows CPU to be allocated. Just use your define in the network process() to do stuff
|
|
#define AI_CRYPTO "Cryptocurrency Mining"
|
|
#define AI_RESEARCH "Research Assistance"
|
|
#define AI_REVIVAL "AI Restoration"
|
|
#define AI_PUZZLE "Floppy Drive Decryption"
|
|
#define SYNTH_RESEARCH "Synth Research Allocation"
|
|
|
|
GLOBAL_LIST_INIT(possible_ainet_activities, list(
|
|
"[AI_CRYPTO]",
|
|
"[AI_RESEARCH]",
|
|
"[AI_REVIVAL]",
|
|
"[AI_PUZZLE]",
|
|
"[SYNTH_RESEARCH]"
|
|
))
|
|
|
|
GLOBAL_LIST_INIT(ainet_activity_tagline, list(
|
|
"[AI_CRYPTO]" = "Use CPU to generate credits!",
|
|
"[AI_RESEARCH]" = "Use CPU to generate regular research points!",
|
|
"[AI_REVIVAL]" = "Revive a dead AI using CPU!",
|
|
"[AI_PUZZLE]" = "Use CPU to break encryption on floppy drives!",
|
|
"[SYNTH_RESEARCH]" = "Give connected synths CPU for research!"
|
|
))
|
|
|
|
GLOBAL_LIST_INIT(ainet_activity_description, list(
|
|
"[AI_CRYPTO]" = "Using CPU to mine NTCoin should allow for a meager sum of passive credit income.",
|
|
"[AI_RESEARCH]" = "Allocating additional CPU to the research servers should allow for increased point gain. Not to be confused with AI Research points.",
|
|
"[AI_REVIVAL]" = "If you've inserted a volatile neural core into a connected data core this will revive it using CPU.",
|
|
"[AI_PUZZLE]" = "If you've found and inserted an encrypted floppy drive into a connected server cabinet you can decrypt it using CPU.",
|
|
"[SYNTH_RESEARCH]" = "CPU allocated to this task will be split amongst connected synths so they can research local projects."
|
|
))
|
|
|
|
|
|
//Exploration defines
|
|
#define AI_FLOPPY_DECRYPTION_COST 2500
|
|
#define AI_FLOPPY_EXPONENT 1.25
|