Commit Graph

247 Commits

Author SHA1 Message Date
Iamgoofball
b83ca5f8d1 Goon Chemistry: Addiction and Overdosing 2015-01-18 21:50:54 -08:00
Iamgoofball
38070820f3 Merge branch 'master' of https://github.com/tgstation/-tg-station into goonchem_shoehorn_backup 2015-01-16 17:25:50 -08:00
Iamgoofball
f3398e58a9 Removes Star Trek chemistry and transfers us to Goon Chemistry. 2015-01-16 17:21:36 -08:00
tkdrg
ac3c413f24 Merge pull request #6969 from Firecage/Biogenerator_stuff
Adds stuff to Biogenerator. STUFF!.
2015-01-16 17:31:25 -03:00
Firecage
204fdb8b2f Update to biogenerator stuff PR 2015-01-16 09:24:39 +02:00
Firecage
2aa837f8f4 Wrench/unwrench messages only one for hydro trays 2015-01-15 09:27:03 +02:00
Firecage
e4e5c1ae62 This adds a delay to anchoring and unanchoring a hydroponics tray. 2015-01-15 02:45:51 +02:00
Firecage
c1368f6816 Fixes what Miauw said with the secbelt thing. 2015-01-11 21:31:21 +02:00
Firecage
2e20b8ea91 Biogenerator stuff. 2015-01-11 16:53:41 +02:00
tkdrg
652c8f5741 Merge pull request #6818 from Ergovisavi/more_pod_cloning
Some replica pod cloning fixes
2015-01-06 22:53:41 -03:00
Ergovisavi
1cd8dd90b7 Fixing an issue that would prevent pod cloning from working if the mob leaves its body before blood is drawn 2015-01-05 06:25:48 -08:00
carnie
a3f5e7ebfd Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems
Conflicts:
	code/game/gamemodes/setupgame.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/reagents/Chemistry-Machinery.dm
2015-01-04 01:52:14 +00:00
phil235
cf48bb8364 Fixes potato cell construction being broken
Fixes eggplant parmigiana recipe (it was inheriting reagent requirements from spaghetti). I changed recipes so that they never inherit items or reagents requirements from a parent recipe to make adding new recipes in each categories less prone to mistakes.
2015-01-02 18:18:26 +01:00
carnie
a029a49392 SubSystem rewrite
Misc:

+Fixes unreported issue with initializing lighting on a specific zlevel

+Fixes two similar issues with moveElement and moveRange. Where fromIndex or toIndex could be adjusted incorrectly in certain conditions. Potentially causing bad-sorts, or out of bound errors.

+Rewrites listclearnulls(list/L) to no longer iterate through L.len elements for every null in the list (plus 1). i.e. went from L.len*(number_of_nulls+1) list-element reads (best-case), to L.len list-element reads (worst-case)

+New proc/getElementByVar(list/L, varname, value) which finds the first datum in a list, with a variable named varname, which equals value. You can also feed it atoms instead of lists due to the way the in operator functions.

+Fixes an unreported issue with Yota's list2text rewrite. Under certain conditions, the first element would not be converted into a string. Causing type-mismatch runtimes.

+New global map_ready variable. This is not fully implemented yet, but will be used to avoid duplicate calls to initialize() for map objects.

+All turfs now maintain references to all lights currently illuminating them. This will mean higher memory use unfortunately, due to the huge number of turfs. However, it will speed up updateAffectingLights significantly. I've used list husbandry to reduce baseline memory usage, so it shouldn't be any worse than some past atmos modifications memory-wise.

-Removed 'quadratic lighting', can add this back at some point. Sorry.

+modified the way lum() works slightly, to allow turfs to have overridden delta-lumen. i.e. space cannot be illuminated more than its default ambiance. This allowed removal of some iffy special-snowflake lighting areas implemented by somebody else.

+Lighting images in the dmi can now use arbitrary naming schemes. It is reliant on order now. This allows the dmi to be replaced by simply dropping in a new dmi.

-Removed all subtypes of /area/shuttle. Shuttles now create duplicate 'rooms' of /area/shuttle. (More on this later). This will conflict with most maps. Guide on how to fix to follow.

+All verbs/tools relating to world.tick_lag were refactored to use world.fps. However old config text for setting tick_lag will still work (it converts the value to fps for you)

+MC stats improved using smoothing. They now have their own tab so they dont get in the way when you're playing as an admin.

-removed the push_mob_back stuff due to conflicting changes. Sorry Giacom.

_OK, NOW THE ACTUAL INTERESTING STUFF_

Following systems moved over to subsystem datums:
air_master
garbage_manager
lighting_controller
process_mobs (aka Life())
nanomanager
power
sun
pipenets
AFK kick loops
shuttle_controller (aka emergency shuttle/pods), supply_shuttle and other shuttles
voting
bots
radio
diseases
events
jobs
objects
ticker

Subsystems hooks and variables should be commented fairly in-depth. If anything isn't particularly clear, please make an issue.

Many system-specific global variables have been refactored into

All tickers which previously used world.timeofday now use world.time

some subsystems can iterate before round start. this resolves the issue with votes not working pregame
2014-12-31 13:25:41 +00:00
Ergovisavi
a9d7266ca2 Merge branch 'master' of https://github.com/tgstation/-tg-station into muh_mobs 2014-12-22 19:55:04 -08:00
phil235
d5a7d82959 Fixes a lot of "the the" in messages. 2014-12-16 22:59:55 +01:00
phil235
7bd9b86652 Changes the hunger system in various ways. New hunger hud icons. Food w/o sugar can be loaded in snack vending machines by anyone. Adding two new var for mobs "satiety" and "metabolism efficiency". Rearranging datum/reagents, all "good" medical reagents are under datum/reagent/medicine/ and all food&drink reagents are under datum/reagent/consumable. Adding a pizza crate to cargo orders. Growns and cooked food are given vitamins while junk food are all given sugar. Removed some unnecessary code in Chemistry-Reagents.dm .
high satiety+fed = higher metabolism_efficiency, lower if starving. Sugar digested drains satiety and vitamin raises satiety. Negative satiety means faster nutrition drop. Positive high satiety means lower chance to spread viruses. metabolism efficiency affect metabolization speed of healing and damaging reagents and the efficiency of bodytemp stabilization via calory use.
2014-12-11 20:46:27 +01:00
Ergovisavi
c9700d6b12 -Attempting to make mobs less laggy in the event many hostile mobs are spawned near each other by narrowing their searching by default with a new var, removes ishuman check
-Humans create a unique faction on creation, and transfer it via cloning/replica podding etc
-Created slime faction, gives slime and slime men that faction
-Simultaneous goliath tentacling will no longer stack, and goliaths now have a "tell" when they're about to strike
2014-12-09 02:05:34 -08:00
tkdrg
e2c15d5210 Merge branch 'master' of https://github.com/tgstation/-tg-station into hudwhyyoudothistome
Conflicts:
	code/modules/hydroponics/hydroponics.dm
2014-12-08 13:48:22 -03:00
Swag McYolosteinen
609807df75 Merge pull request #6199 from Ergovisavi/less_terrible_human_plants
Pod Cloning changes
2014-12-07 17:34:54 +01:00
tkdrg
3e97e935af /datum/atom_hud (Passive HUDs) bugfixes
Moves antag_hud image and datum to mind instead of mob.

Fixes mobs keeping data HUDs after transfer_to().
Fixes gibbed bodies losing their antag HUDs.
Fixes the data hud disappearing when dropping unrelated HUDs.

Fixes #6206
Fixes #6209
2014-12-06 15:05:23 -03:00
Remie Richards
8eced8d302 Merge pull request #6134 from Menshin/null_loc_mobs_fix
Prevent some mobs from spawning in nullspace
2014-12-03 16:39:30 +00:00
Ergovisavi
ff5b845371 Some changes to Blood and Replica Pods, adds more vars for allowing Replica pods to clone without an intact body, sets replica production to 1 for faster cloning, makes you a plantman/woman 100% of the time 2014-12-03 06:29:49 -08:00
Menshin
76ecd457b1 Killer tomatoes :
* Prevent killer tomato from spawning inside nullspace
* It's now impossible to eat an awakening killer tomato
* Fixed been able to spawn lots of killer tomatoes by spam clicking the tomato object

Drones :

Prevent an edge case which would lead to a client spawning as drone in null space

Brains :

Makes brainmobs qdel instead of piling up inside the brain object
2014-11-28 23:24:12 +01:00
hornygranny
21b8df82d5 Merge pull request #5908 from tkdrg/hud
Makes data and antag huds passive and creates /datum/atom_hud
2014-11-25 12:53:03 -08:00
hornygranny
4702f16ecb Merge pull request #6037 from tkdrg/imdumb
Fixes hydroponics harvesting in diagonals
2014-11-24 21:05:17 -08:00
tkdrg
90b3fed5df Fixes hydroponics harvesting in diagonals 2014-11-24 20:14:57 -03:00
phil235
3436b96693 Fixes the runtimes when picking up nettles as a non-human. Changing two span class. Maintenance drones no longer take damage when picking up nettles. 2014-11-23 16:09:36 +01:00
tkdrg
3bb478f12f Includes antag HUDs in the datum hud overhaul
Makes hud_list associative, and introduces the /atom list hud_possible,
which lists all the possible hud images a certain atom can provide.

Replaces all the awful procs in the gamemodes with their new
/datum/atom_hud versions, which are much shorter, simpler and faster.
2014-11-20 15:43:51 -03:00
tkdrg
0db30a6534 Fixes issues with TK teleporting pictures and harvested plants. 2014-11-18 15:49:03 -03:00
Jordie0608
590684e129 Merge branch 'master' of https://github.com/tgstation/-tg-station into beekeepermodewhen
Conflicts:
	icons/mob/animal.dmi
	tgstation.dme
2014-11-09 00:15:12 +11:00
hornygranny
2b8045ebe0 Merge pull request #5494 from phil235/BiogenFullFix1
Biogenerator container fix
2014-11-03 17:23:41 -08:00
xxalpha
5211f7ffbb Tweaked 2014-10-29 20:44:58 +00:00
xxalpha
a85e0d8613 Adds a variation of the clown shoes
Sprites and tweaks

Add clown-locker with banana shoes to clown shutle

Conflicts:
	_maps/map_files/tgstation.2.1.3.dmm

Adds clown new shoes to map

DME
2014-10-29 19:22:11 +00:00
phil235
219ea4f2e2 * Trying to make milk or cream with the biogenerator while its container doesn't have enough space no longer uses any points and gives an error message instead.
* Remove an unused var and argument.
2014-10-27 17:12:17 +01:00
phil235
2bb61534dd Removing an unused var and argument. Container now checks if there's enough space to hold all the reagent. 2014-10-27 17:01:53 +01:00
phil235
d1dbcbe203 Trying to make milk or cream with the biogenerator while its container is full no longer uses any points and gives an error message instead. 2014-10-27 16:33:55 +01:00
paprka
c4668885ec Merge branch 'master' of https://github.com/tgstation/-tg-station into cooljackets
Conflicts:
	icons/mob/suit.dmi
	icons/obj/clothing/suits.dmi
2014-10-20 21:38:39 -07:00
paprka
74dfbeb92c adds bomber and leather jackets 2014-10-20 21:36:40 -07:00
Incoming
1212180556 Returns the missing grassclump icon
Introduces the improvements added to grass in #5253 to carpets
2014-10-18 20:58:07 -04:00
Cheridan
1b8c69324f Merge pull request #5075 from Incoming5643/FuckIKEA
Carpet is now growable, whoa!
2014-10-16 23:00:07 -05:00
phil235
d66b0e61f0 Fixes the ability to make stacks of grasstile/sandstone larger than the max amount authorized.
Fixes an error in the amount of grasstiles produced.
Fixes some unnecessary capitalisation in mineral deposit names.
2014-10-14 21:22:08 +02:00
Cheridan
08be1b34eb Revert "Changes a few green crosses to blue on sprites that I missed last time" 2014-10-04 19:22:10 -05:00
Incoming
5952f82618 Carpet is now growable, whoa!
It's mutant grass, wow!
Now you can stop stealing it for your sweet construction projects, nice!
2014-10-03 19:53:44 -04:00
ikarrus
7c32420497 Resolved conflicts and added my yml changelog file 2014-09-19 09:30:59 -06:00
ikarrus
53dd04466f Golems created by runes also get the same treatment 2014-08-31 17:51:39 -06:00
ikarrus
759ca4979c Clones and Podmen will no longer be created with underwear already on. 2014-08-31 16:49:36 -06:00
Alex
4e7c2cbb8e Merge pull request #4623 from phil235/WaterLightFix
Fix low water light on hydrotray
2014-08-31 20:55:41 +01:00
phil235
f4c38c6b86 Fix low water light on hydrotray
one single space...
2014-08-31 21:53:26 +02:00
ikarrus
51a333ebe7 Merge gang mode into latest version 2014-08-30 23:31:44 -06:00