Skip to content
Snippets Groups Projects
Commit a0e9ca7a authored by Pregmodder's avatar Pregmodder
Browse files

minor fixes

parent 85c119a8
Branches
Tags
No related merge requests found
...@@ -436,7 +436,7 @@ App.Events.murderAttemptFollowup = function(variation, companyName, type) { ...@@ -436,7 +436,7 @@ App.Events.murderAttemptFollowup = function(variation, companyName, type) {
} else if (type === "star") { } else if (type === "star") {
slave = GenerateNewSlave('XX'); slave = GenerateNewSlave('XX');
slave.origin = "You bought $her enslavement in an illegal deal."; slave.origin = "You bought $her enslavement in an illegal deal.";
slaev.voice = 3; slave.voice = 3;
slave.skill.entertainment = 60; slave.skill.entertainment = 60;
slave.face = 96 + Math.floor(Math.random() * 5); // Math.random() is always < 1, so range is 0<=x<=4 slave.face = 96 + Math.floor(Math.random() * 5); // Math.random() is always < 1, so range is 0<=x<=4
slave.intelligence = Math.abs(slave.intelligence); // never dumb, but no guarantee on smart slave.intelligence = Math.abs(slave.intelligence); // never dumb, but no guarantee on smart
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<<includeDOM App.Events.murderAttemptFollowup("slave", V.illegalDeals.slave.company, V.illegalDeals.slave.type)>> <<includeDOM App.Events.murderAttemptFollowup("slave", V.illegalDeals.slave.company, V.illegalDeals.slave.type)>>
<<elseif $event == "trade deal">> <<elseif $event == "trade deal">>
<<includeDOM App.Events.murderAttemptFollowup("trade", V.illegalDeals.trade.company)>> <<includeDOM App.Events.murderAttemptFollowup("trade", V.illegalDeals.trade.company)>>
<<elseif $Event == "military deal">> <<elseif $event == "military deal">>
<<includeDOM App.Events.murderAttemptFollowup("military", V.illegalDeals.military.company)>> <<includeDOM App.Events.murderAttemptFollowup("military", V.illegalDeals.military.company)>>
<<else>> <<else>>
<<includeDOM App.Events.murderAttempt()>> <<includeDOM App.Events.murderAttempt()>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment