#
# laws file
#
# format:
#   cat cat_id attr_key:attr_factor,... like_key:like_factor
#   law law_type cat_id lewd param_val
#   req req_key_list
#   repl repl_key_list
#   block block_key_list
#   end
#
# For things to work right, laws that are replaced by another
# should never be req by other laws. And laws that are replaced
# should block their replacements
#
# After adding entries here, also add their text descriptions
# in the things/laws.txt loc file. However, new entries will likely
# require platform code changes to make them useful.
#
# The categories are: times, enter, rev, tax, ages, decency
# The attributes show how a commissioner's affinity to the law type
# is calculated.
#
cat times will:0.3 faith:-0.1,entertainment_work:0.2,night_shift:0.2,weekend_shift:0.2
cat enter f_attr:0.3 flexibility:0.1,voyeur:0.2,entertainment_work:0.15,skimpy_clothing:0.15,prostitution:0.1
cat rev comp:-0.2,soc:0.2 onyourown:-0.2,leadership:0.3,sharing:0.1
cat tax greed:-0.3,comp:-0.2 helping:-0.2,financial_work:-0.1,sharing:-0.2
cat ages rat:-0.3,intel:-0.2 young:0.3,casual_sex:0.1,dating:0.1
cat decency will:-0.2 public_nudity:0.3,skimpy_clothing:0.2,voyeur:0.2,shopping:-0.1
#
# Laws dealing with what times it can open
# 1. Open Mon-Sat evenings (default)
law can_open_eve_mo_sa times -100
block can_open_evenings can_open_nights
open dow=1 dow=5 dow=6 ticks=3
end
#
# 2. Open Sat afternoon
law can_open_after_sa times -80
block can_open_after_mo_sa can_open_day_mo_sa can_open_day
open dow=6 ticks=2
end
#
# 3. Open Mo-Sa Afternoon (includes 2)
law can_open_after_mo_sa times -60
repl can_open_after_sa
block can_open_day_mo_sa can_open_day
open dow=1 dow=5 dow=6 ticks=2
end
#
# 4. Open Evenings (includes 1)
law can_open_evenings times -50
repl can_open_eve_mo_sa
block can_open_nights
open dow=0 dow=1 dow=5 dow=6 ticks=3
end
#
# 5. Open Noon-Afternoon M-Sa (includes 3)
law can_open_day_mo_sa times -40
repl can_open_after_mo_sa
block can_open_day
open dow=1 dow=5 dow=6 ticks=1 ticks=2
end
#
# 6. Open Noon-Afternoon, all days (includes 5)
law can_open_day times -20
repl can_open_day_mo_sa
open dow=0 dow=1 dow=5 dow=6 ticks=1 ticks=2
end
#
# 7. Open Nights, all days (includes 4)
law can_open_nights times -10
repl can_open_evenings
open dow=0 dow=1 dow=5 dow=6 ticks=3 ticks=4
end
#
# 8. Open Late Weekends
law can_open_late_fr_sa times 0
req can_open_nights
block can_open_late
open dow=5 dow=6 ticks=5
end
#
# 9. Open Late All Days (includes 8)
law can_open_late times 15
repl can_open_late_fr_sa
open dow=0 dow=1 dow=5 dow=6 ticks=5
#
# Laws dealing with the type of entertainment that's allowed
law singers_allowed enter -45 2
action enter
job_type singer
end
#
law dancers_allowed enter -10 2
req singers_allowed can_open_day
action enter
job_type dancer
end
#
law underwear_allowed enter 5 4
req dancers_allowed can_open_nights
action enter
end
#
law topless_allowed enter 20 6
req underwear_allowed
block nude_allowed
action enter
action strip
job_type stripper
end
#
law nude_allowed enter 35 9
repl topless_allowed
req can_open_late
action enter
action strip
action vip
job_type stripper
end
#
# This is disabled for now
#law men_allowed enter 101 0
#req topless_allowed
#end
#
law contact_allowed enter 45 0
req nude_allowed loan_forgive
block private_rooms_allowed prostitution_allowed
action lap
end
#
law private_rooms_allowed enter 50 10
repl contact_allowed
req massages_allowed
block prostitution_allowed
action lap
action priv
end
#
law prostitution_allowed enter 60 12
repl private_rooms_allowed
action lap
action priv
action sex
job_type hooker
end
#
# Other things that are allowed
law massages_allowed enter 40 0
req nude_allowed loan_forgive
action masg
job_type masseuse
end
#
law amateur_contests enter 10 2
req dancers_allowed can_open_nights
end
#
# Revenue stuff
law no_tip_wh rev -100 0
block low_tip_wh mid_tip_wh high_tip_wh any_tip_wh
end
#
law low_tip_wh rev -20 0.15
repl no_tip_wh
req singers_allowed
block mid_tip_wh high_tip_wh any_tip_wh
end
#
law mid_tip_wh rev 0 0.30
repl low_tip_wh
req dancers_allowed
block high_tip_wh any_tip_wh
end
#
law high_tip_wh rev 35 0.50
repl mid_tip_wh
req nude_allowed
block any_tip_wh
end
#
law any_tip_wh rev 50 0.75
repl high_tip_wh
req loan_forgive
end
#
law vhigh_tax_rate tax -100 0.35
block high_tax_rate mid_tax_rate low_tax_rate vlow_tax_rate no_tax_rate
end
#
law high_tax_rate tax -50 0.32
repl vhigh_tax_rate
block mid_tax_rate low_tax_rate vlow_tax_rate no_tax_rate
end
#
law mid_tax_rate tax 0 0.29
repl high_tax_rate
req can_open_nights loan_forgive
block low_tax_rate vlow_tax_rate no_tax_rate
end
#
law low_tax_rate tax 25 0.26
repl mid_tax_rate
block vlow_tax_rate no_tax_rate
req can_open_late
end
#
law vlow_tax_rate tax 50 0.22
repl low_tax_rate
block no_tax_rate
end
#
law no_tax_rate tax 70 0.18
repl vlow_tax_rate
end
#
law loan_forgive tax -20
req singers_allowed
end
#
law drinking_age_21 ages -100 21
block drinking_age_20 drinking_age_19 drinking_age_18
end
#
law drinking_age_20 ages 0 20
repl drinking_age_21
req can_open_day
block drinking_age_19 drinking_age_18
end
#
law drinking_age_19 ages 35 19
repl drinking_age_20
req can_open_late
block drinking_age_18
end
#
law drinking_age_18 ages 50 18
req loan_forgive
repl drinking_age_19
end
#
law public_decency decency -100 2
block sexy_clothing breasts_exposed public_nudity public_sex
end
#
law sexy_clothing decency 35 3
repl public_decency
req underwear_allowed can_open_late
block breasts_exposed public_nudity public_sex
end
#
law breasts_exposed decency 50 6
repl sexy_clothing
req nude_allowed loan_forgive
block public_nudity public_sex
end
#
law public_nudity decency 65 9
repl breasts_exposed
req massages_allowed
block public_sex
end
#
law public_sex decency 75 12
repl public_nudity
req prostitution_allowed
end
#
law gambling decency 25
req underwear_allowed amateur_contests loan_forgive
end
