Commit Graph

454 Commits

Author SHA1 Message Date
Firecage ee3e8d2846 merge conflict fix 2017-10-05 11:22:57 +02:00
Firecage 2ae0380fef Does some code standardization/consistency 2017-10-05 11:13:47 +02:00
XDTM 0f07a69640 Fixes viruses not calling Start on their symptoms when spreading 2017-10-01 15:22:01 -05:00
kevinz000 da47892550 Update viral.dm 2017-10-01 13:10:25 -05:00
vuonojenmustaturska 8b54685bd1 Cleanup to various loc assignments and nearby code (#31069)
* Let's hope i didn't break the game

* Requested changes

* missing one

* movetonullspace thing
2017-09-30 09:09:15 -04:00
ShizCalev 39380d5b03 Removes old debug text 2017-09-19 18:56:39 -04:00
KorPhaeron ed43a09864 Prevents the creation of Shadowzombiechangelings (#30681)
* Prevents the creation of Shadowzombiechangelings

* You can still zombie yourself if you really want

* (
2017-09-15 10:07:03 +02:00
KorPhaeron 10a3238fd6 Makes the station Z level into a list instead of a single define (#30297)
* Makes Station Z Levels a global list

* Things didnt get committed

* Define

* Removes files

* Fix mind.dm

* Wrong list name

* (

* Fixes rev checks and signpost

* Makes it actually compile

* Signpost fix

* I hate these sign posts

* Never use the web editor
2017-09-11 13:39:52 -04:00
XDTM 28a5901170 You can now click on symptoms in the Pandemic to see their description and stats (#29866)
* You can now click on symptoms in the Pandemic to see their description and stats

* Threshold info

* NO WHITESPACE
2017-08-19 19:52:09 -04:00
Cyberboss 3b37703a03 Merge pull request #30011 2017-08-19 19:40:24 -04:00
XDTM bb903b339c RealFix 2017-08-19 01:56:46 +02:00
XDTM a5d65abd61 Diseases will properly make new symptoms instead of sharing the same for everyone 2017-08-18 20:47:10 +02:00
Ian Turk 7460f2c5b8 Replaced flags with flags_1 2017-08-16 13:01:15 -06:00
Jordan Brown af4d9a85c9 Repaths /obj/item/weapon to /obj/item (#29929) 2017-08-16 10:38:51 -03:00
Cyberboss f5f3758df3 Merge pull request #29288 2017-07-30 20:54:22 -04:00
XDTM 4865549b9f Fixes a lot of eye damage procs (#29565) 2017-07-30 09:16:18 -04:00
XDTM 97fc07898c Merge branch 'master' into Hallucinations3.0 2017-07-29 12:43:18 +02:00
XDTM ed202d36a5 Fixes virology timing in a better way 2017-07-23 22:18:08 +02:00
XDTM e72b6767ed Virology fixes (#29428)
* Pandemic now reads data from the virus itself rather than the global copy

* Fixes id mismatch
2017-07-22 19:10:40 -03:00
XDTM 1c716c2f0f Merge branch 'master' into Hallucinations3.0 2017-07-18 22:04:13 +02:00
ShizCalev 45d3d52af7 Made some object lists less terrible to read (#29304)
* spaces

* more spaces

* last ones
2017-07-18 10:44:29 -04:00
XDTM 5fafc73094 Hallucinations 3.0 2017-07-15 21:03:34 +02:00
Fox McCloud 2cc3e9c41f Disease Refactor (#29130)
* Vomit Now Contains Viruses

* eh

* typeless memery

* Disease Refactor

* tweaks

* styling

* tweaks

* unecessary comment removal

* whoops

* fix
2017-07-15 11:08:40 -04:00
XDTM 7de5bde68e [Seriously, it's ready]Virology Rework: The Thresholdening (#28556)
🆑 XDTM
experiment: Viruses and symptoms have been havily reworked.
add: Symptoms now have statistic thresholds, that give them new properties or improve their existing ones if the overall virus statistic is above the threshold. Check the pull request in github or the wiki (soon) for the full list.
del: Some symptoms no longer scale linearly with stats, and instead have thresholds.
tweak: The symptom limit is now 6.
del: Viruses can no longer be made invisible to the Pandemic
tweak: Symptoms no longer trigger with a 5% chance every second, but instead have a minimum and maximum number of seconds between each activation, making them more consistent.
del: The symptoms Blood Vomit and Projectile Vomit have been removed, and are now bonuses for the base Vomit symptom.
del: The Weakness symptom has been removed as it was completely useless.
tweak: The Sensory Destruction symptom has been reworked into Narcolepsy, which causes drowsiness and sleep.
tweak: Viral Aggressive Metabolism now has a timer before it starts decaying the virus. It scales with the highest between Resistance or Stage Speed.
add: You can now neuter symptoms, making them inactive. They will still affect stats. Adding formaldehyde to a virus will neuter a random symptom. A bottle of formaldehyde starts in the virus fridge.
/🆑

Full list of threshold bonuses:

    Facial Hypertrichosis - None
    Choking
        Stage Speed 8 : Acts more often
        Stealth 4: Suppresses early warnings
    Acute respiratory distress syndrome
        Stage Speed 8: Adds paralyzing chems (removed from base version)
        Infect 8: Stronger damage
    Confusion
        Stealth 4: Suppresses early warnings
        Resistance 6: Also deals some brain damage, not above 80
        Infect 6: Stronger confusion
    Cough
        If AIRBORNE: Coughing causes a spread at range 1
        Resistance 3: Coughing drops small items (removed from base)
        Resistance 10: Can cause coughing fits that stun briefly
        Speed 6: Increases cough frequency
    Deafness
        Stealth 4: Suppresses early warnings
        Resist 9: Deafness is permanent instead of temporary
    Dizziness
        Stealth 4: Suppresses early warnings
        Infect 6: Also adds the druggy effect
    Fever
        Resist 5: Heats more, can go above the damage threshold
        Resist 10: Heats even more per activation
    Shiver
        Speed 5: Cools more, can go below the damage threshold
        Speed 10: Cools even more
    Spontaneous Combustion
        Stealth 4: Suppresses early warnings
        Speed 5: Increases fire stacks and damage
        Speed 10: Increases fire_stacks and damage even more
        Infect 8: Spreads the virus when igniting
    Alkali Perspiration
        Resist 9: Increases time between ignitions but increases power as well
        Speed 8: Doubles the explosion range when wet
        Infect 8: Also adds napalm and clf3 (removed from base version)
    Necrotizing Fasciitis
        Resist 7: Causes extra bleeding
        Infect 8: Deals additional stamina damage
    Autophagocytosis Necrosis
        Stealth 5: Suppresses early warnings
        Speed 7: Adds Heparin and Lipolicide (removed from base version)
        [PROPOSED REQUESTING APPROVAL] Infect 13: Adds romerol, turning the victim into a zombie on death.
    DNA Saboteur
        Stealth 5: DNA won't reset after curing
        Speed 10: Increases mutation frequency
        Resist 8: Mutate twice instead of once
    Hallucigen
        Stealth 4: Suppresses early warnings, and gives off the messages of positive symptoms instead
        Speed 7: Stronger hallucinations
    Headache
        Stealth 4: Reduces early message frequency
        Speed 6: Deals some stamina damage when headaching
        Speed 9: Reduces frequency, headaches are strong enough to stun
    Healing Symptoms
        Stealth 4: Hides the overlay when healing
        Speed 7: Increases healing rate
        Speed 15: Further increases healing rate
    Itching
        Infect 6: Increases frequency
        Speed 7: Itching causes scratching, dealing minor brute damage (0.5)
    Narcolepsy
        Infect 7: Deals stamina damage when it triggers
        Resistance 10: Triggers more often
    Self-Respiration
        Resist 8: Regenerates blood
    Sensory Restoration
        Resist 6: Also heals brain damage (removed from base)
        Infect 8: Also purges alcohol (removed from base)
    Sneezing
        Infect 9: Increases spread range
        Stealth 4: Suppresses early warnings
    Hyphema
        Stealth 4: Suppresses early warnings
        [REQUESTING APPROVAL] Resist 13: Eyes fall off instead of just being blinded
    Voice Change
        Stealth 3: Suppresses early warnings
        Speed 7: Changes voice fater
        [REQUESTING APPROVAL] Infect 14: Changes the infectee's language along with the voice
    Vomit
        Stealth 4: Suppresses early warnings
        Resist 7: Blood Vomit
        Infect 7: Projectile Vomit

Unlisted symptoms do not have threshold bonuses!

All balance is not final, i'll tweak the numbers as necessary.
Why

Threshold bonuses: The reasoning behind these is that they feel more rewarding and impactful than simple number scaling, and gives the option to dedicate symptom space to more symptoms or to upgrade a few central ones instead.
Symptom activation change: the intention behind this is RNG consistency and ease of balance. Currently all symptoms have a 5% chance of activate with few exceptions, making it complicated to tweak.
Neutering: Upgrading positive symptoms by putting a ton of negative ones doesn't work well, in my opinion, especially when they'll trigger their own thresholds making the virus somewhat dangerous instead. Neutering allows players to sidestep that, but i recognize that it swings a bit too far on the other side of the risk/reward balance. I plan on finding a better system to manage virus statistics in the future.
2017-07-14 09:42:56 +12:00
ShizCalev 59ef81245b Changes some 1s and 0s to TRUE and FALSE (#29144) 2017-07-10 10:31:34 -04:00
Matthew Walker f3afd18551 Move eye_damage from /mob/ to eye organs (#28725)
* First test change, only damage

* take out unused var

* null check

* First test change, only damage

* take out unused var

* null check

* Fixes some wizard stuns (#28693)

* First test change, only damage

* take out unused var

* null check

* review changes

* Hate git
2017-06-27 16:51:29 -04:00
nicbn 77a2d3f5cd Replaces "istype"s with is_helpers macros (#28676) 2017-06-22 15:03:19 -03:00
Joan Lung 563f66700c Sleeping is now a status effect 2017-06-19 14:47:35 -04:00
Joan Lung 2672d88800 Renames stun effects and changes stun input values as preliminary work for changing stuns to status effects (#28524) 2017-06-18 23:03:51 -03:00
Mike Long 3ddef57ecf Vomit fix (#28492) 2017-06-16 17:18:19 -03:00
Jordan Brown 9fa9c8c6a7 Diseases can now only spread to mobs with an atmos line of sight (#28197) 2017-06-08 19:17:27 -03:00
KorPhaeron af2aeef3d0 Use defines 2017-05-26 09:04:09 -04:00
Joan Lung 1b7c4a63dc Repaths /obj/effect/overlay/temp to /obj/effect/temp_visual (#27344) 2017-05-17 22:54:54 -05:00
coiax f993f9ce36 Refactors ear damage into ear organs (#26044)
* Refactors ear damage into ear organs

🆑 coiax
add: Centcom would like to inform all employees that they have ears.
add: Adds "ear" organs to all carbons. These organs store ear damage and
deafness. A carbon without any ears is deaf. Genetic
deafness functions as before.
/🆑

- `ear_damage` and `ear_deaf` vars removed from /mob.
- All mobs have a `can_hear` proc, which returns TRUE always except for
carbons.
- Carbons need to have an ear organ that has 0 `deaf` var.

- Explanation of how ear damage works is in the code, it hasn't been
changed from previously. Deafness is applied in number of Life ticks
until you regain hearing, while damage is long team, heals slower, and
when high enough, can cause flashbangs to make you go permamently deaf,
as before.

- Wearing earmuffs halves the healing time of deafness, and promotes
healing long term ear damage, as before. Earmuffs now have a secondary
flag HEALS_EARS, which currently only they own.

* Changes how soundbang deafness works slightly

* Ear organ icon

* Code review I

* Makes fully healing carbons not dependent on having a dna and species

* Gives monkeys and aliens ears

* Whoops

* Split organs into seperate files

* Tweaks.

* Un-removes brain damage lines

* Moved procs onto /mob for ear stuff

* Massages things into compiling

* Replacement of spam_flag with world.time tracker
2017-04-22 08:51:03 -04:00
Cyberboss 9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Cyberboss 78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Cyberboss 968d185433 Fixes an imaginary number 2017-03-30 16:14:44 -04:00
Cyberboss d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
coiax 0df599a518 Transformation diseases do not change your name (#23499)
🆑 coiax
add: A victim of a transformation disease will retain their name.
tweak: The slime transformation disease can turn you into any colour or
age of slime.
/🆑

Polymorphed people keep their name, so why not transformation diseases.
And colourful slimes are fun, and the slime disease requires a high tier
of slime anyway, and if you're going to infect humans with the disease
in order to harvest slimes, then that's probably a feature.
2017-02-01 20:18:20 +01:00
Cyberboss 3f7f5d4000 Removes/Refactors /mob/unEquip (#22918)
* Part1

* IT COMPILES!!!!

* Fuck wait this was missing from that last

* Update handlabeler.dm

* Update handlabeler.dm

* Fixes n shit

* Fix this

* Fixes #23310

* Fucking @RemieRichards was right

* Fixes devil unEquip

* WTF ARE BITFLAGS?

* THERES THE FUCKING PROBLEM

* Fixes
2017-01-31 09:28:31 +13:00
Cyberboss ab9f1f0448 It's 2017, time to fuck (some) spawns and cleanbots (#22801)
* Spawn -> addtimer

* Remove this unused proc

* Oh boy, there he goes touching MC again

* Remove spawn in flick_overlay

* Remove spawn in pollCandidates

* flash_color: waitfor = 0

* Don't mess with my grepping, comments

* clear_fullscreen: waitfor = 0

* Why the hell was telekinisis not using the define?

* check_for_cleanbot_bug: waitfor = 1

* Failsafe loop launcher

* assets: waitfor = 0

* Ticker nuke cleanup: addtimer

* ticker post setup: addtimer

* ticker cinematic cleanup: addtimer

* Revert "Why the hell was telekinisis not using the define?"

Handled in #22803

This reverts commit 1da293e687f1811ae69001cb02dfa6f15f451354.

* ticker maprotate: addtimer 0

* beam start: addtimer 0

* browser onclose setup: waitfor = 0

* Revert "check_for_cleanbot_bug: waitfor = 1"

This reverts commit 99e50724b3bc6a3682d042b36f97c906c7f7d96d.

* Finally remove check_for_cleanbot_bug

* browser timeout: addtimer

* deafness symptom: addtimer

* Shedding symptom: addtimer

* Animate doesn't sleep

* MSOs stuff

* > Tfw you committed without saving
2017-01-23 21:06:30 +04:00
Kyle Spier-Swenson 12570805bd Closes the Pool. (#23150)
* Delete pool.dm

* Removes usage of PoolOrNew

* Wrap up
2017-01-22 16:00:23 -05:00
Cyberboss e356520624 Fixes an imaginary number 2017-01-12 14:15:14 -05:00
Nabski89 1124374de1 Vitiligo Level Bugfix (#22664)
🆑 Baby's first PR
fix: Vitiligo and Revitiligo were listed as level 5, but had level 4.
/🆑
2017-01-04 10:57:24 +01:00
bgobandit e9544b8bec Fixes spelling and misleading messages (#22512)
* Fixes spelling and shit

* satiates the kor, fixes more typos/grammar issues

* spelling madness

* I'm mad with spelling power
2016-12-29 10:14:01 +13:00
Incoming5643 123426b9c9 Fixes all the occasions where a wizard could find/make sandals and get the nerfed sandals instead of the new ones introduced in #22164 (#22237) 2016-12-17 14:22:46 -05:00
Mervill 0972f78800 a_intent now uses defines 2016-12-02 22:27:30 -08:00
Mervill 09ea5ad2e5 w_class now uses defines 2016-12-01 21:33:14 -08:00
Joan Lung a5ae025549 Replaces "specflags" with "species_traits" (#21851)
* Replaces "specflags" with "species_traits"

* this will do
2016-12-01 21:16:33 +13:00