Commit Graph

39 Commits

Author SHA1 Message Date
Markolie
107325bb43 Melee attack for mechs 2014-11-22 06:05:13 +01:00
ZomgPonies
8aacab1627 Regular gygax can only fit nonlethal weapons. 2014-07-19 16:27:11 -04:00
ZomgPonies
26321b62db No combat punch for non-lethal gygax 2014-06-29 11:58:59 -04:00
MrPerson
5bb608e56e Redo of jitteriness and dizziness.
Fixes #2923

Conflicts:
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/mecha/equipment/weapons/weapons.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/mob.dm
	code/modules/mob/mob_defines.dm
	code/modules/reagents/Chemistry-Reagents.dm
2014-02-28 22:21:33 -05:00
ZomgPonies
90496be20a Standardized intent names so it's all harm. Fuck you hurt. 2014-01-19 08:30:50 -05:00
aranclanos@hotmail.com
bc56760a35 Moved the defines of damtype from /obj/items and /obj/mecha to only /obj.
This fixes a fuckload of runtimes and makes structures and machinery being able to cause damage on attackby procs, for example, using TK.

I'm not entirely happy of doing this, adding another var to a base class, but it's better than leaving a lot of hasvar() procs and it's easier than moving obj/machinery, obj/structure, etc, to obj/object/machinery, obj/object/structure, etc.
Also it doesn't break the entire game.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5457 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 10:24:36 +00:00
johnsonmt88@gmail.com
d4dc5ae070 Moved var/force from /obj/item to /obj so that everything gets it, including structures and machines that get tossed around using Telekenesis. The default force is still 0. This should finally put a stop to a large number of runtimes.
Runtime fix for being hit by something without there being a usr. This was most likely due to explosions or possibly mass drivers.

Runtime fix for simple animals using department channels. Only parrots can use them now as they are the only simple animal with the 'ears' variable.

Runtime fix for the mech's energy relay process() when there is no battery in the mech.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5405 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-27 02:08:41 +00:00
elly1989@rocketmail.com
4073ac9b00 Replaced all 'file.extension' references with 'relativepath/file.extension' using a script by thvortex of ss13-daedalus.
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.

To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"

If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 16:33:40 +00:00
elly1989@rocketmail.com
8961bd96d0 WARNING: This has been thoroughly tested and I'm happy that it's -stable- (it shouldn't runtime). However, it might have a few niggly bugs caused by specific items using no-standard or weird code. Most bugs will be stuff like it not updating overlays and such and can be fixed simply by dropping the item. That being said, if you're not comfortable with this, I'd suggest waiting to update past this revision.
update_clothing() has been broken up into it's key parts. A full explanation can be found in code/modules/mob/living/carbon/human/update_icons.dm
the tl;dr of it is that overlay updates are no longer called by the gameticker. Instead they are called by procs such as u_equip db_cick etc. This means faster updates (although admittedly, more of them can be called per tick). This however is offset by the fact that specific overlays can be updated now, vastly improving its efficiency. This will especially help when there are large numbers of dead mobs.

Fixed the throw code for TKgrab so it can be toggled.

Cloaking for aliens/humans/ninjas was changed. It's very crude at the moment and for that I apologise. But it works and is very efficient.It also stops cloaked individuals becomming invincible due to people being unable to hit them (even when they know exactly where  they are)

Fixed a bunch of bugs with damage-overlays. They  were updating FAR FAR to frequently. They were also horribly inefficient. They should now be virtually seamless when updating and only use cached icons, so they aren't affected by lag as badly. This may help with explosions lag a little.

There's still a tonne of stuff I need to refine with this. I'll be refining it down into some helper procs to reduce on code duplication and such

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3811 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 19:03:25 +00:00
panurgomatic
c754581c46 - Added Exosuit Jetpack
- Added Exosuit Nuclear Reactor
- Added Ripley construction steps sprites (courtesy of WJohnston)
- Exosuit Sleeper can now inject occupant with reagents taken from Syringe Gun
- Exosuit Cable Layer will now auto-dismantle floors
- Exosuit Heavy Lazer cooldown increased, Scattershot now fires medium calibre ammo (less damage)
- EMP now drains half of current exosuit cell charge, not half of maximum charge.
- Exosuit wreckage can be pulled
- Fixed several possible exosuit equipment runtimes
- Moved all mecha-related icons to icons/mecha
- Mecha equipment messages will show equipment icons in chat window
- Fixed mecha creation reports being sent at wrong construction step
- Played with changelog markup. For some reason javascript is extremely slow in byond browser, I'll look into it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3057 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-08 18:47:04 +00:00
panurgomatic
3942358580 - Reworked exosuit atmospherics
- Combat exosuits melee won't gib dead mobs
- QM exosuit circuit crates cost lowered to 30 points
- Exosuit plasma converter generates 15 power per tick (was 10)
- Exosuit internal tank connected to atmos port now will update contents

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2934 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-09 04:04:03 +00:00
panurgomatic
32b2be1b5a - Simple event dispatch system.
- atom.forceMove() proc. Ignores density and other Move() restrictions, but calls Exited() and Entered()
- var/emagged moved to /obj/machinery class
- anyprob() helper proc.
- Mecha internal damage vars encapsulated.
- Mech Fabricators now require robotics ID to operate. Emag removes this restriction.
- Added Odysseus Medical Exosuit and it's parts. Has integrated Medical Hud and ability to mount medical modules.
- Added Sleeper Medical module for medical exosuits. Similar to common sleepers, but no ability to inject reagents.
- Added Cable Layer module for exosuits. Load with cable (attack cable with it), activate, walk over dismantled floor.
- Added another exosuit internal damage type - short circuit. Short-circuited exosuits will drain powercell charge and power relay won't work.
- You should be able to send messages to exosuit operators using Exosuit Control Console
- Gygax armour and module capacity nerfed.
- Exosuit weapon recharge time raised.
- Bugfix: EMP actually drains exosuit cell and damages it

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2780 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-23 10:54:23 +00:00
uporotiy
3f5b76aff0 Added stun, weaken and paralysis-related procs in place of directly editing the vars. Hulk is 5% chance now due to being completely immune to any sort of stunning (will nerf more later). Think that's all but not entirely sure.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2683 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-14 16:38:46 +00:00
rockdtben
1de1be054d Implemented more getters/setters for damage system. 2
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2556 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-26 13:33:18 +00:00
panurgomatic
3517810d11 - Added atom/proc/search_contents_for. Recursively searches through all contents of all atoms inside specified one for matches, returns a list of found atoms.
- Added teleporter datum. do_teleport proc is now just a wrapper for it.
- Added damage absorption to mechs.
- Added mecha step and turn sounds.
- Cleaned effects code a bit.
- Metal foam should now block air movement.
- Since sd_ lightning library chops areas into pieces, turrets now work with master area.
- Tried to optimize DesignHasReqs proc.
- Added plasma converter and laser cannon mecha equipment.
- Other cosmetic changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2463 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-31 22:09:36 +00:00
panurgomatic
58bef9a494 - Added href getter datum. Returns either what you want or null.
- Moved byjax callback processing to JS part.
- Disabled exosuits verbs from showing when RMButtoning.
- Added radios to exosuits. Setting can be found in 'Electronics' menu.
- Exosuit maintenance can be initiated even if it's occupied. The pilot must permit maintenance through 'Permissions & Logging' - 'Permit maintenance protocols'. For combat exosuits it's disabled by default. While in maintenance mode, exosuit can't move or use equipment.
- Nerfed EMP effect on mechs.
- Fixed build_path for atmospheric monitor circuitboard design
- Bugfixing and bugmaking.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2343 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-11 20:24:14 +00:00
mport2004@gmail.com
46a7143e3a Energy projectiles work again.
Rewrote the job selection system to use bitflags and the jobs are now objects.
Fixed a path conflict with effect which caused a few things to be unable to be clicked on.
Commented out the job.txt, Urist if you still want it to load from the .txt give me a yell and I can update it to work with the job objects.
Fixed up the bits that were missing the slightly updated mob organ attack code.
Moved the traps file into unused.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2340 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-11 07:52:30 +00:00
mport2004@gmail.com
17ed3899c4 Fixed the map/code issues that the body bags caused.
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work. 
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more.  More random name monkeys will help with changeling and clean up the observe/mob menus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 10:28:57 +00:00
baloh.matevz
e8c6b08419 - Object tree grouped a bit more.
Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.

Effects contains objects which are either landmarks, triggers, spawners or decal.

Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG

I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 06:54:28 +00:00
panurgomatic
346ca5c362 - Started work on Phazon alien exosuit
- Lowered cost of Durand parts.
- Some helper procs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1573 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-12 12:08:14 +00:00
panurgomatic
6564fec7e3 - Fixed bug with destructive analyzer being stuck in busy state after canceling item destruction.
- Fixed bug with mechs not reading ID permissions from PDA.
- Updated H.O.N.K menu code.
- There should be no delay in updating mech equipment info in exosuit stats window.
- Added armor booster sprites.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1510 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-30 16:00:40 +00:00
rastaf.zero@gmail.com
b58e465bbe Shitton of bugfixes related to bryteloss/fireloss.
Note for coders: in order to help with seaching of health-related bugs I have moved many procs from /mob/ under /mob/living/.
Also, done some clean up and rearranging.
Results:
-admin rejuvenating now works again;
-people screams if getting creamated while still alive;
-diseases actually loose your health;
-monkeys wearing masks receive protection from acids as humans did;
-and other minor fixes and improvements.
Bugfix for imbuing a talisman.
RD now spawns with only 2 pens instead of 3.
Audible emotions can be heard by people outside of locker/other container.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1446 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-15 07:41:19 +00:00
panurgomatic
7048badff4 - You can now stick MMI-ied brains inside mechs, if you want.
- Other small fixes and tweaks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1316 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-31 02:39:58 +00:00
panurgomatic
c7aa327159 - Operation permision now can be set for all mechs, including combat models.
- Added Durand parts and Durand construction (currently using Gygax part sprites)
- Other mecha tweaks.
- Fixed smelter not showing sand as smeltable material.
- Cyborg gibbing inside recharge station should now update its icon and power consumption.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1288 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-27 13:27:31 +00:00
panurgomatic
8c938b79cb This is a rather big mecha update (not everything is polished, bughunt in progress).
- Mechs equipment is customizable (you can add different equipment to mechs). Weapons go to combat mechs only, clown mech equipment - to HONK only. Clamp goes only to Ripley.
- Mech equipment can be built by mech fabricator.
- Added mecha RCD, mecha teleporter, mecha wormhole generator equipment.
- Equipment(if any left) can be pried from mecha wreckage with crowbar.
- Mech control console circuitboard added to circuit storage.
- Mechs can teleport from teleport hub.
- Fixed ripley cargo problems with moving objects(bots, carps, huggers etc). Loading hostile organisms may be harmful. Be vigilant.
- Fixed bug with many mobs climbing inside one mecha.
- Fixed mecha "unable-to-move" message spam.
Other things:
- Rooms in random asteroids for extended and sandbox (WIP)
- Misc.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1190 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-15 15:20:02 +00:00
panurgomatic
84af1a2a01 - Fixed some strange errors in mech fabricator code.
- Added queueing to fabricator.
- Small tweaks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1181 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-13 12:56:17 +00:00
panurgomatic
110e48507b - Slight speed up for combat mechs.
- Added H.O.N.K construction.
- Removed unnecessary mecha parts.
- Fixed bug with switching intent while in mecha
- Tweaked mecha access permissions (maintenance hatch can be opened if player has any of the mecha internals_req_access permissions, piloting allowed only if player has all of operation_req_access permissions)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1042 316c924e-a436-60f5-8080-3fe189b3f50e
2011-02-14 14:08:18 +00:00
panurgomatic
7a4b9e09bc - Added Durand combat exosuit.
- Players can modify operation permissions of newly constructed civilian mechs. Click on mech with ID card or PDA with ID inside.
- Added robotics access to default mecha maintenance permissions (all mechs) and operation permissions (civilian models only).
- Fixed double adminlog message of explosion proc.
- Fixed accidental mecha wreckage deletion.
- Tweaked mecha internal fire processing.
- Added some mecha-related sounds.
- Moved GaussRand to helpers.dm and added GaussRandRound helper proc.
- Other small changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1023 316c924e-a436-60f5-8080-3fe189b3f50e
2011-02-12 00:59:38 +00:00
panurgomatic
75f227501c - Mechs again
- Honker HONK nerfed a little
- Marauder pulse gun is now imba.
- Some small tweaks.
- Proper speech rendering for mecha pilot
- Construction datum for my fun and profit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@902 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-23 03:18:04 +00:00
panurgomatic
5b4517f32c - Added firefighter mecha.
- Tweaked clown mecha honk to be less annoying.
- Added broken mecha objects, which can be salvaged for materials.
- Fixed marauder space flight.
- Added infra_luminosity to mechs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@828 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-12 03:06:26 +00:00
panurgomatic
529d97cb1c - Mech Recharge Bay. Note to the map-makers: recharge port should be situated to the west of recharge floor, console - anywhere close to it.
- H.O.N.K exosuit.
- Mechs can push mobs and objects.
- Mecha clickspam bug should be fixed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@794 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-07 02:48:56 +00:00
panurgomatic
9793842a0e - Fixed vaccines not giving resistance if mob isn't infected.
- Added control interface for atmo mixer and pumps.
- Atmo meters now also show gas temperature
- Mecha logs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@741 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-31 03:32:22 +00:00
panurgomatic
e3daa811eb - Added some checks for internal damage for mechs
- Added "control lost" mecha malfunction (randomizes movement direction and action targets)
- Mecha weapons and tools can be destroyed.
- Gygax rearmed with taser, laser and flashbang grenade launcher. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@701 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-25 11:49:46 +00:00
panurgomatic
953bc5189e - Further work on mechs.
- Turrets should now target mechs (there's a possibility of nasty errors there).
- Global iterator datum (just for lulz. Check readme inside global_iterator.dm and mecha.dm for examples).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@684 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-21 11:07:22 +00:00
panurgomatic
bd1b21aa25 - Mecha bugfix
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@585 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-10 06:43:42 +00:00
panurgomatic
01e31f39ab - Added Ripley mech.
- Added ID check for mechs.
- Custom mouse pointer test for combat mechs.
- Fixed atmo tank injectors showing "On hold" forever.
- Made max metal, glass and rods stack amounts global constants for easy tweaking.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@576 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-09 12:54:25 +00:00
panurgomatic
63cd6afce8 - Further work on exosuits. Added Marauder combat model.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@516 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-02 09:50:46 +00:00
panurgomatic
c38e54f23d - Added N20 scrubbing option to scrubbers.
- Implemented gauss distribution for asteroid generation (may come in handy for other things, so made it a global proc).
- Exosuit fixes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@406 316c924e-a436-60f5-8080-3fe189b3f50e
2010-11-11 06:33:12 +00:00
panurgomatic
fad29b3a83 - Something like a global map for extended and sandbox gamemodes. Explore space, blow up the asteroids, collect resources, build your own station. WIP
- Exosuit object. Patrially working. WIP.
- Disease transmission on touch
- Various minor changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@386 316c924e-a436-60f5-8080-3fe189b3f50e
2010-11-09 03:18:25 +00:00