Add initial comments to some scripts

develop
PeridexisErrant 2015-08-15 16:43:50 +10:00
parent 9b1f394032
commit 84a1edc3b8
4 changed files with 8 additions and 2 deletions

@ -1,3 +1,5 @@
# un-suspend all jobs, on a recurring basis
class AutoUnsuspend class AutoUnsuspend
attr_accessor :running attr_accessor :running

@ -1,3 +1,5 @@
# convenient way to ban cooking categories of food
already_banned = {} already_banned = {}
kitchen = df.ui.kitchen kitchen = df.ui.kitchen
kitchen.item_types.length.times { |i| kitchen.item_types.length.times { |i|
@ -84,5 +86,3 @@ $script_args.each do |arg|
puts "ban-cooking seeds - bans cooking of plants that have seeds (tree seeds don't count)" puts "ban-cooking seeds - bans cooking of plants that have seeds (tree seeds don't count)"
end end
end end
# vim: et:sw=4:ts=4

@ -1,3 +1,5 @@
--removes unhappy thoughts due to lack of clothing
function fixnaked() function fixnaked()
local total_fixed = 0 local total_fixed = 0
local total_removed = 0 local total_removed = 0

@ -1,3 +1,5 @@
# un-suspend all jobs, one time only
joblist = df.world.job_list.next joblist = df.world.job_list.next
count = 0 count = 0