Commit Graph

531 Commits

Author SHA1 Message Date
Menshin
6749f21042 Tweaked the power distribution handling :
* the power is correctly handled each tick instead of 1 tick on 2, because of bad reinitalization,
* apcs now draw power as others machines and fixed the amount of power send to them

Partially fixes #3761.
2014-05-25 00:54:41 +02:00
Cheridan
79a4de45e7 Merge pull request #3729 from Ikarrus/immovablerod
Fixes Immovable Rod
2014-05-21 21:45:14 -05:00
Menshin
5f7875f4de Replaced the "not used anymore" command_alert with the new "priority_annonce" proc, making the code compilable again. 2014-05-18 11:50:25 +02:00
Alex
9066cccf9c Merge pull request #3645 from Ikarrus/announcements
Priority Announcement Changes
2014-05-18 02:07:55 +01:00
ikarrus
6dbdc37e04 Resolved Conflicts:
code/modules/events/immovable_rod.dm
2014-05-17 18:46:53 -06:00
ikarrus
f861f12075 Fixes Immovable Rod
-Rod no longer gets deleted after hitting a few objects
-Rod no longer gets stuck in the rare case it hits a shuttle at just the right angle. It now explodes.
2014-05-17 14:30:24 -06:00
Cheridan
3a0bd3de28 Merge branch 'master' of https://github.com/tgstation/-tg-station into MeteorsSuck
Conflicts:
	code/game/turfs/simulated/walls.dm
2014-05-13 14:03:42 -05:00
ikarrus
995338c21d -Added attack cooldown for space vines and simple animals
-Reduced some duplicate code in constructs.dm
2014-05-10 18:16:35 -06:00
ikarrus
a48ba0d256 Priority Announcement Changes
-Centcom announcement proc merged with generic priority announcement proc
-Re-added the Captain Announces accompanied by a new pleasant sound, instead of the generic priority announcement
-Captain Announcements will automatically generate a newscaster article
-Priority announcements without any defined accompanying sound will play a generic "Attention" soundbyte as an audio cue
-Communications consoles will display who is currently logged in
2014-05-05 22:18:57 -06:00
MrPerson
9d9a657acf Change examine() from an atom verb to a mob verb
Just in time for the feature freeze, a big change that will introduce bugs! Yay!
Mob verb is called verb/examinate(target), which just calls target.examine(user) and face_atom(target)
For explanation why, see http://www.byond.com/forum/?post=1326139&page=2#comment8198716
Long story short, mob verbs are much faster than object verbs. The goal is to make right-click menus populate faster.

Also changes a bunch of examine() procs to always, ALWAYS call the parent. Except mobs, but you have 1 guess why I'm not touching them. Mostly this affects obj/item/examine().
And also remove a whole shitload of pointless set src in view(2) kind of crap. Also span classes.
2014-05-01 09:56:39 -07:00
Razharas
a59e9c85d6 Thanks byond and your stealth declarations
Hate this shit sooooooo much
2014-04-28 00:21:15 +04:00
Razharas
67671c5af7 Fixed grammer and new light mutation
Yep
2014-04-26 20:56:47 +04:00
Razharas
13053de7ef Less magic numbers in equasions, also tiny buff 2014-04-24 23:44:10 +04:00
Razharas
730b96936e Fixed possible runtimes and colour twerking 2014-04-24 23:32:43 +04:00
Cheridan
2d547d4d82 Refactors space dust
Meteors spin

renames meateors
2014-04-23 15:01:19 -05:00
Cheridan
dd454959e2 Adds new event. 2014-04-23 01:42:05 -05:00
Cheridan
f83f1932b2 Meteor code uses OOP principles a little better now
Adds new types of meteors with different effects.
Meteors drop some ore when they hit.
2014-04-23 01:37:44 -05:00
Cheridan
4d8160ab14 meteorhit() is kill 2014-04-22 12:16:02 -05:00
Razharas
b6ca0139cb No logging for explosive bullshit 2014-04-22 19:04:10 +04:00
Razharas
603c72549b Fixes goats not eating vines
Yep it was a bug
2014-04-22 13:14:53 +04:00
Razharas
f5c66b3bda Fixis colouring, forgot some of the #s
Yep
2014-04-22 12:57:28 +04:00
Razharas
4ff66475ce Quick fix of explosive vines
Wasnt producing explosions otherwise
2014-04-21 12:06:50 +04:00
Razharas
37cb6f9220 AHJGFD 2014-04-18 19:48:32 +04:00
Razharas
d536671fd7 Fixing instagib vine
>Lower severity means higher damage
>Intuition
>Logic
>Sanity
2014-04-18 19:24:08 +04:00
Razharas
40c349c052 A little tweak 2014-04-15 01:24:36 +04:00
Razharas
a250e5f670 More !!FUN!!
Im open to discussion as to remove some of the TOO op mutations
2014-04-13 00:04:41 +04:00
Razharas
6e641397bf Message fix 2014-04-11 02:31:52 +04:00
Razharas
d26e1ee5ac Fastfix of name 2014-04-11 02:28:41 +04:00
Razharas
cb5eaf0b10 Tweaks and giggles 2014-04-11 01:36:38 +04:00
Razharas
31d851d315 Such vines
So mutation
2014-04-10 07:51:20 +04:00
Miauw
5abb553f4a Merge branch 'master' of https://github.com/tgstation/-tg-station into warnstandardization
Conflicts:
	code/_onclick/telekinesis.dm
2014-04-08 14:29:58 +02:00
Aranclanos
fc915bf800 If you try to use the teleporter and the teleport was rejected for any reason (like having a nuclear disk), you won't get the chance to get a random damage from the teleport.
Fixes issue #2236.
Removed some spawn() calls.
Removed the chance of fail from the portal effects (the blue portals made with hand teleporters).
The portal datums will now return 0 if the teleport failed, and now use a new proc, start(), instead of New() to handle themselves.
Standarized teleport.dm from the helper_datums folder.
Removed the checks for centcomm z level and away missions z level for teleports. Now you can go there.
changed the /red messages from the teleports datum to span classes.
The "[something] bounces off of the portal!" were replaced for "The portal rejects [something]".
Removed an extra "the" on those messages.
2014-04-02 08:36:33 -03:00
Miauw
dc9ead6575 Merge branch 'master' of https://github.com/tgstation/-tg-station into warnstandardization
Conflicts:
	code/_onclick/telekinesis.dm
	code/game/sound.dm
2014-03-30 20:48:03 +02:00
YotaXP
febfa4d1e5 Merge branch 'qdel-with-datums'
Conflicts:
	code/_onclick/hud/screen_objects.dm
	code/controllers/garbage.dm
	code/game/atoms.dm
	code/game/objects/items/weapons/storage/storage.dm
	code/modules/mob/mob.dm
2014-03-27 21:46:53 -04:00
Mloc-Hibernia
8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00
YotaXP
3656217c29 Modified qdel() to accept any datum.
The garbage controller no longer bothers nulling out every variable on destroyed objects.
An object can opt to not be collected by returning true from Destroy().  Useful for pools or other edge cases.
Fixed boxes not being collected, along with a couple other things.
Turfs will not be monitored for collection.
generate_ion_law() is no longer a /datum proc, and I am an admin in the repo.  Deal with it.
2014-03-24 00:10:43 -04:00
Miauw
a80dd4df0f Merge branch 'master' of https://github.com/tgstation/-tg-station into warnstandardization
Conflicts:
	code/game/objects/items/weapons/AI_modules.dm
2014-03-22 17:42:07 +01:00
Miauw
520b114293 fixes shit 2014-03-09 18:31:43 +01:00
MrPerson
6b29fecda1 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/machinery/bots/ed209bot.dm
	code/game/machinery/rechargestation.dm
	code/game/machinery/turrets.dm
	code/game/objects/structures/crates_lockers/closets.dm
	code/modules/research/circuitprinter.dm
2014-03-08 22:03:03 -08:00
MrPerson
917a2dd2a4 Rename equip_to_slot_or_qdel() -> del()
Still qdel()'s them, just naming the proc back.
Should hopefully reduce the number of lines different in the pr.
2014-03-02 21:08:25 -08:00
Razharas
b27d9c7396 Added RPED, some sprites and new power cell path
Your dreams of big part storage and fast machine part exchange came true
14 slot R&D part-only autoseeker/picker/dropper/exchager is in
Added different sprites for better capacitors and scanning modules
Changed the power cell type to be compatible with all this machine
changing faggotry
All sprites here are codersprites so ask nien/WJ for better ones if you
want
2014-02-24 05:14:43 +04:00
MrPerson
9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Miauw
65db954b38 Fixed misc complaints about NODROP 2014-02-18 18:17:55 +01:00
Miauw
3f9bf15ca5 Merge branch 'master' of https://github.com/tgstation/-tg-station into NODROP
Conflicts:
	code/modules/mob/mob.dm
2014-02-15 17:30:21 +01:00
Miauw
9b8656247c u_equip is now called unEquip PANIC 2014-02-13 20:58:33 +01:00
Miauw
b8b57ff4f1 Replaced canremove with NODROP. 2014-02-13 19:52:46 +01:00
Miauw
8c7ef19be6 Replaced before_take_item() and drop_from_inventory() with u_equip 2014-02-12 19:51:37 +01:00
fleure
0963e180c0 Merge pull request #2656 from Razharas/AnomalyRuntime
Anomaly runtime
2014-02-11 16:51:41 +00:00
fleure
bc733a83a4 Merge pull request #2650 from Giacom/master
MiniStation Update
2014-02-06 20:14:25 +00:00
Razharas
6738b57e4f Anomaly fix
Fixes anomalies runtiming because something is wrong with areas
2014-02-06 04:34:24 +04:00