Skip to content

Commit

Permalink
kills more whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sayterdarkwynd committed Oct 25, 2024
1 parent 1f6ec27 commit 69bbdf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions quests/madness/madnessdata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function update(dt)
displayBar()
--sb.logInfo("Instafreud is active. Reducing madness.")
player.radioMessage("fu_useFreud")
player.consumeCurrency("fumadnessresource", self.degradeTotal)
player.consumeCurrency("fumadnessresource", self.degradeTotal)
else
disableBar()
end
Expand All @@ -577,7 +577,7 @@ function update(dt)
if (status.statPositive("mentalProtection")) then
player.consumeCurrency("fumadnessresource", self.protectionBonus)
end
self.bonusTimer = 30.0
self.bonusTimer = 30.0
end
end
----------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions scripts/actions/monsters/farmable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ function checkMate()
self.d20 = math.random(20) + (storage.happiness/10) --roll a d20. Happiness increases value of roll, increasing likelihood of success by up to 50%
self.eggType = config.getParameter("eggType")
--is egg, and the d20 roll exceeds or equals the difficulty (19)
if (self.eggType) and (self.d20 >= 19) then
if (self.eggType) and (self.d20 >= 19) then
--creature is full enough, the wait timer is up, and the creature is currently capable of mating (has eaten at least once)
if (storage.mateTimer <= 0) and (self.canMate) and (storage.food >= 45) then
if (storage.mateTimer <= 0) and (self.canMate) and (storage.food >= 45) then
storage.mateTimer = 240 - (storage.food/5)
world.spawnItem( self.eggType, mcontroller.position(), 1 )
world.spawnProjectile("fu_egglay",mcontroller.position(), entity.id(), {0, 20}, false, configBombDrop)
Expand Down

0 comments on commit 69bbdf4

Please sign in to comment.