mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Merge branch 'incremental_tg' r5067 into bs12_with_tgport
removed extraneous admin attack messages, temporarily disabled much moderator stuff (will be re-enabled in future updates) Conflicts: baystation12.dme code/__HELPERS/type2type.dm code/controllers/configuration.dm code/datums/datumvars.dm code/datums/helper_datums/getrev.dm code/defines/obj.dm code/game/gamemodes/events/black_hole.dm code/game/gamemodes/events/space_ninja.dm code/game/gamemodes/wizard/rightandwrong.dm code/game/jobs/job/captain.dm code/game/jobs/job/job.dm code/game/jobs/job_controller.dm code/game/machinery/bots/medbot.dm code/game/machinery/computer/card.dm code/game/machinery/telecomms/traffic_control.dm code/game/machinery/turrets.dm code/game/machinery/wishgranter.dm code/game/objects/items/blueprints.dm code/game/objects/items/devices/uplinks.dm code/game/objects/items/stacks/stack.dm code/game/objects/items/weapons/surgery_tools.dm code/game/turfs/turf.dm code/game/verbs/ooc.dm code/global.dm code/modules/admin/IsBanned.dm code/modules/admin/admin.dm code/modules/admin/admin_memo.dm code/modules/admin/admin_verbs.dm code/modules/admin/holder2.dm code/modules/admin/player_panel.dm code/modules/admin/verbs/adminpm.dm code/modules/admin/verbs/diagnostics.dm code/modules/assembly/igniter.dm code/modules/client/client defines.dm code/modules/client/client procs.dm code/modules/clothing/spacesuits/miscellaneous.dm code/modules/clothing/suits/armor.dm code/modules/clothing/suits/jobs.dm code/modules/mining/mine_turfs.dm code/modules/mob/living/carbon/human/say.dm code/modules/mob/living/carbon/human/update_icons.dm code/modules/mob/living/living.dm code/modules/mob/living/living_defense.dm code/modules/mob/living/silicon/robot/emote.dm code/modules/mob/living/silicon/robot/life.dm code/modules/mob/mob_cleanup.dm code/modules/mob/new_player/new_player.dm code/modules/mob/new_player/preferences.dm code/modules/paperwork/paper.dm code/modules/paperwork/photocopier.dm code/modules/projectiles/guns/projectile/automatic.dm code/modules/reagents/Chemistry-Machinery.dm code/setup.dm code/stylesheet.dm code/world.dm config/admins.txt config/config.txt html/changelog.html icons/mob/items_lefthand.dmi icons/mob/items_righthand.dmi icons/mob/suit.dmi icons/obj/clothing/suits.dmi icons/turf/areas.dmi Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -748,6 +748,15 @@ datum/design/mech_grenade_launcher
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/flashbang"
|
||||
category = "Exosuit Equipment"
|
||||
|
||||
datum/design/clusterbang_launcher
|
||||
name = "Exosuit Module Design (SOP-6 Clusterbang Launcher)"
|
||||
desc = "A weapon that violates the Geneva Convention at 6 rounds per minute"
|
||||
id = "clusterbang_launcher"
|
||||
build_type = MECHFAB
|
||||
req_tech = list("combat"= 5, "materials" = 5, "syndicate" = 3)
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/flashbang/clusterbang/limited"
|
||||
category = "Exosuit Equipment"
|
||||
|
||||
datum/design/mech_wormhole_gen
|
||||
name = "Exosuit Module Design (Localized Wormhole Generator)"
|
||||
desc = "An exosuit module that allows generating of small quasi-stable wormholes."
|
||||
@@ -807,7 +816,7 @@ datum/design/mech_energy_relay
|
||||
desc = "Tesla Energy Relay"
|
||||
id = "mech_energy_relay"
|
||||
build_type = MECHFAB
|
||||
req_tech = list("magnets" = 4, "syndicate" = 3)
|
||||
req_tech = list("magnets" = 4, "powerstorage" = 3)
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/tesla_energy_relay"
|
||||
category = "Exosuit Equipment"
|
||||
|
||||
@@ -1571,3 +1580,14 @@ datum/design/security_hud
|
||||
src.pixel_y = rand(-5.0, 5)
|
||||
|
||||
|
||||
/////////////////////////////////////////
|
||||
//////////////Borg Upgrades//////////////
|
||||
/////////////////////////////////////////
|
||||
datum/design/borg_syndicate_module
|
||||
name = "Borg Illegal Weapons Upgrade"
|
||||
desc = "Allows for the construction of illegal upgrades for cyborgs"
|
||||
id = "borg_syndicate_module"
|
||||
build_type = MECHFAB
|
||||
req_tech = list("combat" = 4, "syndicate" = 3)
|
||||
build_path = "/obj/item/borg/upgrade/syndicate"
|
||||
category = "Cyborg Upgrade Modules"
|
||||
|
||||
@@ -272,16 +272,7 @@ var/obj/machinery/blackbox_recorder/blackbox
|
||||
if(!feedback) return
|
||||
|
||||
round_end_data_gathering() //round_end time logging and some other data processing
|
||||
|
||||
var/user = sqlfdbklogin
|
||||
var/pass = sqlfdbkpass
|
||||
var/db = sqlfdbkdb
|
||||
var/address = sqladdress
|
||||
var/port = sqlport
|
||||
|
||||
var/DBConnection/dbcon = new()
|
||||
|
||||
dbcon.Connect("dbi:mysql:[db]:[address]:[port]","[user]","[pass]")
|
||||
establish_db_connection()
|
||||
if(!dbcon.IsConnected()) return
|
||||
var/round_id
|
||||
|
||||
@@ -299,13 +290,11 @@ var/obj/machinery/blackbox_recorder/blackbox
|
||||
var/DBQuery/query_insert = dbcon.NewQuery(sql)
|
||||
query_insert.Execute()
|
||||
|
||||
dbcon.Disconnect()
|
||||
|
||||
// Sanitize inputs to avoid SQL injection attacks
|
||||
proc/sql_sanitize_text(var/text)
|
||||
text = dd_replacetext(text, "'", "''")
|
||||
text = dd_replacetext(text, ";", "")
|
||||
text = dd_replacetext(text, "&", "")
|
||||
text = replacetext(text, "'", "''")
|
||||
text = replacetext(text, ";", "")
|
||||
text = replacetext(text, "&", "")
|
||||
return text
|
||||
|
||||
proc/feedback_set(var/variable,var/value)
|
||||
|
||||
@@ -15,15 +15,6 @@
|
||||
..()
|
||||
catalogued_artifacts = new/list
|
||||
|
||||
/obj/machinery/computer/artifact_database/attack_ai(mob/user)
|
||||
attack_hand(user)
|
||||
|
||||
/obj/machinery/computer/artifact_database/attack_hand(mob/user)
|
||||
add_fingerprint(user)
|
||||
if(stat & (BROKEN|NOPOWER))
|
||||
return
|
||||
interact(user)
|
||||
|
||||
/obj/machinery/computer/artifact_database/Topic(href, href_list)
|
||||
..()
|
||||
if( href_list["close"] )
|
||||
@@ -35,7 +26,7 @@
|
||||
..()
|
||||
updateDialog()
|
||||
|
||||
/obj/machinery/computer/artifact_database/proc/interact(mob/user)
|
||||
/obj/machinery/computer/artifact_database/interact(mob/user)
|
||||
if ( (get_dist(src, user) > 1 ) || (stat & (BROKEN|NOPOWER)) )
|
||||
if (!istype(user, /mob/living/silicon))
|
||||
user.machine = null
|
||||
|
||||
@@ -26,15 +26,6 @@
|
||||
else
|
||||
return..()
|
||||
|
||||
/obj/machinery/artifact_harvester/attack_ai(var/mob/user as mob)
|
||||
return src.attack_hand(user)
|
||||
|
||||
/obj/machinery/artifact_harvester/attack_paw(var/mob/user as mob)
|
||||
return src.attack_hand(user)
|
||||
|
||||
/obj/machinery/artifact_harvester/attack_hand(var/mob/user as mob)
|
||||
interact(user)
|
||||
|
||||
/obj/machinery/artifact_harvester/process()
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
@@ -52,7 +43,7 @@
|
||||
icon_state = "incubator"
|
||||
return
|
||||
|
||||
/obj/machinery/artifact_harvester/proc/interact(var/mob/user as mob)
|
||||
/obj/machinery/artifact_harvester/interact(var/mob/user as mob)
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
user.machine = src
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
var/s = round(p,25)
|
||||
icon_state = "anodev[s]"
|
||||
|
||||
/obj/item/weapon/anodevice/proc/interact(var/mob/user)
|
||||
/obj/item/weapon/anodevice/interact(var/mob/user)
|
||||
user.machine = src
|
||||
var/dat = "<b>Anomalous Materials Energy Utiliser</b><br>"
|
||||
if(activated)
|
||||
@@ -74,18 +74,9 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/anodevice/attack_ai(var/mob/user as mob)
|
||||
return src.interact(user)
|
||||
|
||||
/*/obj/item/weapon/anodevice/attack_paw(var/mob/user as mob)
|
||||
return src.interact(user)*/
|
||||
|
||||
/obj/item/weapon/anodevice/attack_self(var/mob/user as mob)
|
||||
return src.interact(user)
|
||||
|
||||
/*obj/item/weapon/anodevice/attack_hand(var/mob/user as mob)
|
||||
return src.interact(user)*/
|
||||
|
||||
/obj/item/weapon/anodevice/proc/pulse()
|
||||
if(activated)
|
||||
if(time <= 0 || !inserted_battery)
|
||||
|
||||
Reference in New Issue
Block a user