Commit Graph

254 Commits

Author SHA1 Message Date
Jordie0608
a7e23d672a Improves drill's handling of power 2015-03-05 17:12:12 +11:00
Remie Richards
b1ff6b7220 Merge branch 'master' of https://github.com/tgstation/-tg-station into AttackbyParams
Conflicts:
	code/game/turfs/simulated/floor/light_floor.dm
2015-02-24 22:16:53 +00:00
Remie Richards
5fc7af7fbf attackby() now has an argument containing the parameters of the click that called it. Items placed on tables now center their icon where the user clicked. this is NOT true for racks, since racks look organised in their sprite.
Items reset their pixel_x and pixel_y values on pickup.
2015-02-19 13:02:43 +00:00
paprka
54fec53ba2 changelog and compile fix 2015-02-14 19:40:11 -08:00
paprka
bca3242b3c small nerf to resonators 2015-02-14 17:34:04 -08:00
paprka
066b2762d3 lots of crap 2015-02-14 17:25:45 -08:00
paprka
52bac40485 nerfs mining drill a little 2015-02-13 22:04:38 -08:00
paprka
85675e92b8 my good judgement gets the better of me 2015-02-13 21:50:00 -08:00
paprka
ab3ff729ce some fixes 2015-02-13 21:44:04 -08:00
paprka
88760896ad initial commit 2015-02-13 20:59:39 -08:00
GunHog
e20c6dd788 Drone Access get
DRONE POWAH
2015-02-06 22:17:36 -06:00
GunHog
20beb90adf Lets Silicons use the Ore Redemption Machine
- Silicons can now use the Ore Redeemer.

Codernote: I removed the "istype(inserted_id)" checks for the release
and plasteel functions as they do not do anything to the ID inside
except the check_access() proc. That proc returns 0 if called when no ID
is inserted, so it can safely be removed from those two options.
2015-02-06 15:43:41 -06:00
Cheridan
8c893f6aca Merge pull request #7065 from phil235/GibtoniteLogFix
Gibtonite log fix
2015-01-25 00:29:18 -06:00
phil235
6adce739b1 little fix 2015-01-24 14:13:28 +01:00
Firecage
8e93e028e4 Fixes ore redemption machine screwdrivering 2015-01-21 23:53:11 +02:00
phil235
502495a47d simplifying the code a bit. 2015-01-15 01:06:33 +01:00
phil235
9e8531448a Fixes admin logging of gibtonite and gibtonite deposit. Drilling it with a mech, using a kinetic accelerator, and using a resonator log the attacker's name.
Gibtonite and gibtonite deposit being triggered by an explosion is now correctly logged.

The explosion of the gibtonite deposit (outside of mining level of course) is now logged.
2015-01-15 00:56:50 +01:00
phil235
a55e6a70be Fixes malf AI lockdown affecting doors on z levels other than station and mining.
Replaces a lot of z level numbers in code by their respective defines.
Adding a define for the Mining asteroid z level.
2015-01-11 15:39:32 +01:00
Boggart
e0a968f151 Fixes the holosign projector making signs when put into storage, generalizes can_be_placed_into and improves the check in objects that use it. 2015-01-07 01:09:58 -07:00
carnie
281df385a2 Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems 2015-01-05 19:52:03 +00: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
paprka
8535145401 Merge branch 'master' of https://github.com/tgstation/-tg-station into janitorbuffholyfuckvalvepleasenerf
Conflicts:
	code/game/turfs/simulated/floor.dm
2014-12-27 21:54:53 -08:00
paprka
9b7aa9ca82 adds a check for gravity and ignored turfs 2014-12-27 21:43:48 -08:00
tkdrg
7f7fad7ac9 Merge pull request #6586 from phil235/ResonatorTableFix
Fixes the resonator being activated when placed on a table/closet/storage
2014-12-27 15:06:36 -03:00
phil235
b60fa8b57b Fixes the resonator being activated when placed on a table/closet/storage.
Also fixes beaker being splashed when put inside the vault's safe.
2014-12-24 20:07:49 +01: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
Cuboos
0bb7d2a5a5 Merge remote-tracking branch 'remotes/upstream/master' into CuboosSoundS1E1
Conflicts:
	code/game/objects/items/weapons/defib.dm
	config/admins.txt
2014-12-15 18:12:14 -08:00
tkdrg
412896e1a5 Fixes being able to turn asteroid into normal turf
Fixes #6350
2014-12-14 11:44:37 -03:00
Cuboos
8175bd91e0 Mining sound revamp, using realistic sounds now instead of reusing sound. Plus improved Taser sound. 2014-12-09 19:38:49 -08:00
Hornygranny
af3f1aa4d8 Merge remote-tracking branch 'remotes/upstream/master' into emagrefactor
Conflicts:
	code/game/machinery/deployable.dm
	code/game/objects/items/weapons/storage/lockbox.dm
	code/game/objects/structures/crates_lockers/closets/secure/secure_closets.dm
	code/modules/clothing/glasses/hud.dm
	code/modules/mob/living/silicon/robot/robot.dm
2014-12-09 16:03:45 -08: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
Razharas
7758a0afed Ok now explosions shall work properly
Changed severity to target, make items not destroy themselves on
severity lower than 1, all that stuff
2014-12-05 23:21:48 +03:00
Razharas
c5209f2399 Merge branch 'master' of https://github.com/tgstation/-tg-station into Cfour 2014-11-27 15:30:37 +03:00
Razharas
41a43b0040 Quickfix 2014-11-27 15:30:24 +03:00
Hornygranny
678a13c451 moves emag effects from attackby() into atom proc emag_act() 2014-11-20 17:49:06 -08:00
Razharas
ff456ebaf4 Unwinded most of shit
Meh
2014-11-19 21:36:45 +03:00
Razharas
b071a0167e Made explosions work in a slightly different way
Yep
2014-11-18 16:22:41 +03:00
tkdrg
705a264dcf Makes data huds passive. 2014-11-16 01:52:06 -03:00
Menshin
cdd5128d47 Removed hilarious but useless sleep() in closets/boxes New() 2014-11-10 01:59:32 +01:00
hornygranny
fa4fa09149 Merge pull request #5569 from Menshin/runtimes_roundsup
Alek2ander weekly runtimes fixing
2014-11-03 17:13:18 -08:00
hornygranny
6e11157661 Merge pull request #5520 from paprka/minerscrubs
Improves mining equipment prices, rebalances medipens
2014-11-03 17:12:02 -08:00
Menshin
6176ee9f0f conflicts fixing 2014-10-31 02:43:00 +01:00
Menshin
cce46b39eb Fixes runtimes related to clown_ore -> bananium changes (fixes #5554).
Fixes runtimes related to security records (fixes #5552).
Changing the name in the security database now also change it in the general database.
2014-10-31 02:30:34 +01:00
tkdrg
9526b8804b Merge remote-tracking branch 'upstream/master' into attackoftheturfs 2014-10-30 19:35:03 -03:00
paprka
1b91ab24ce Improves mining equipment locker and rewards system, and buffs kinetic accelerator 2014-10-28 15:42:55 -07:00
scoopscoop
9d98640bc7 The supply shuttle, supply ordering, ore redemption and mining vendor consoles in cargo now use datum/browser/popups instead of user << browse so they don't look like random HTML pages. 2014-10-23 15:26:33 +03:00
tkdrg
a6cf62a9e0 Merge remote-tracking branch 'upstream/master' into attackoftheturfs
Conflicts:
	code/game/mecha/equipment/tools/medical_tools.dm
2014-10-20 17:27:02 -03:00
Cheridan
455b526cc1 Merge pull request #5318 from phil235/MsgFix2
More messages fixed
2014-10-19 21:39:06 -05:00
tkdrg
cd5720b6a7 Floor refactor, try #1 2014-10-19 16:48:35 -03:00