Files
Bubberstation/code/modules/paperwork/contract.dm
John Willard 952c3ee0d3 Removes ComponentInitialize() (#69118)
* Removes ComponentInitialize()

Completely removes ComponentInitialize() as a proc, which was called on every single atom in the game, twice in some instances (like new players), over something that can already be done with Initialize().
This is the second attempt at doing this, after the first attempt fell apart for some reason. This time it was way easier though, since storages are no longer a Component.

* update icon blocker added before calling parent

* Update code/game/machinery/porta_turret/portable_turret.dm

Co-authored-by: san7890 <the@san7890.com>

* adds a mapload while I'm here

* moves human mood

* Does some UNRELATED thing to the PR

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2022-08-11 19:01:32 -04:00

28 lines
1.7 KiB
Plaintext

/* For employment contracts */
/obj/item/paper/employment_contract
icon_state = "paper_words"
throw_range = 3
throw_speed = 3
item_flags = NOBLUDGEON
var/employee_name = ""
/obj/item/paper/employment_contract/Initialize(mapload, new_employee_name)
if(!new_employee_name)
return INITIALIZE_HINT_QDEL
AddElement(/datum/element/update_icon_blocker)
. = ..()
employee_name = new_employee_name
name = "paper- [employee_name] employment contract"
add_raw_text("<center>Conditions of Employment</center>\
<BR><BR><BR><BR>\
This Agreement is made and entered into as of the date of last signature below, by and between [employee_name] (hereafter referred to as SLAVE), \
and Nanotrasen (hereafter referred to as the omnipresent and helpful watcher of humanity).\
<BR>WITNESSETH:<BR>WHEREAS, SLAVE is a natural born human or humanoid, possessing skills upon which he can aid the omnipresent and helpful watcher of humanity, \
who seeks employment in the omnipresent and helpful watcher of humanity.<BR>WHEREAS, the omnipresent and helpful watcher of humanity agrees to sporadically provide payment to SLAVE, \
in exchange for permanent servitude.<BR>NOW THEREFORE in consideration of the mutual covenants herein contained, and other good and valuable consideration, the parties hereto mutually agree as follows:\
<BR>In exchange for paltry payments, SLAVE agrees to work for the omnipresent and helpful watcher of humanity, \
for the remainder of his or her current and future lives.<BR>Further, SLAVE agrees to transfer ownership of his or her soul to the loyalty department of the omnipresent and helpful watcher of humanity.\
<BR>Should transfership of a soul not be possible, a lien shall be placed instead.\
<BR>Signed,<BR><i>[employee_name]</i>")