×
Create a new article
Write your page title here:
We currently have 11 articles on Fleshcult Wiki. Type your article name above or click on one of the titles below and start writing!



Fleshcult Wiki

Cascading Style Sheets is a technology for controlling how web pages are presented. It's used in Fleshcult for formatting and graphics.

What it looks like:[edit]

#death-soliloquy {
	font-family: 'Comic Sans';
	color: pink;
}

Editing tips:[edit]

  • It's way easier to try stuff out in developer tools. Make sure you're in developer mode, right click in the game window and select Open Developer Tools. Click the tablet and phone icon to get rid of the big honking preview window.
    • Right next to that icon is the second most important icon: select element. Hit that and click on any part of the page to select it in the editor.
    • Your edits won't stick when the next page loads. Before that happens, copy your changes into the mod's CSS file.
    • An easy way to find out what you've changed is to hit Ctrl-Shift-P, pick Show Changes, and go to the Changes tab. You'll see all your edits collected together there.

Where it goes in your mod folder:[edit]

See file hierarchy

How to specify backgrounds:[edit]

Write a CSS rule that sets the background-image on div.page_background. The body tag has a ton of classes that you can use to determine which background you want.

List of classes on the body tag[edit]

  • dom0_gender_f / dom0_gender_m / mtf / ftm...

Encounter partner specific[edit]

Percentages are rounded to 10 so you don't have to write 100 rules!

  • sub0_gender_f / sub0_gender_m / mtf / ftm...
  • sub0_trust_x (attitude level)
  • sub0_arousal_x0 (percentage)
  • sub0_fear_x0 (percentage)

Encounter event specific[edit]

A CSS class is also added for each dialogue event that happens during the turn. This lets you set a background based on what the player chose to do. Here's a big list of those:

  • on_encounter_start — Encounter Start
  • on_encounter_fail — Encounter Failed
  • on_arouse — General Arousal
  • on_turn — Rising horror
  • on_terrify — General Pain
  • on_orgasm — Sub orgasm
  • on_seduce_success — Seduce progress
  • on_seduce_failure — Seduce failed
  • on_reveal — Player reveal
  • on_illusion — Player illusion
  • on_ride — Player ride
  • on_caress — Player caress
  • on_suck — Player suck
  • on_lick — Player lick
  • on_finger — Player finger
  • on_handjob — Player handjob
  • on_insert — Player insert
  • on_lactate — Player lactate
  • on_vibrator — Player vibrator
  • on_living_insertion — Player implant
  • on_clamp — Player apply clamps
  • on_needle — Player apply needles
  • on_electrostim — Player apply electrostim
  • on_loosen — Sub loosen
  • on_lube — Player lube
  • on_fist — Sub fisted
  • on_tease — Player tease
  • on_sub_insert — Sub insert
  • on_sub_insert_failed — Sub refuses to insert
  • on_rimjob — Player gives rimjob
  • on_trib — Player tribs sub
  • on_tailjob — Player gives tailjob
  • on_scratch — Player scratch
  • on_titfuck — Player gives sub titfuck
  • on_titfuck_success — Titfuck effect success
  • on_sub_chastity — Chastity applied to sub
  • on_gestate — Player gestates infestation
  • on_infest_success — Sub accepts infestation
  • on_infest_failure — Sub refuses infestation
  • on_infest_start — Player physically transfers infestation
  • on_infest_trance — Infested sub entranced
  • on_infest_lust — Infested sub lust incr
  • on_infest_fear — Infested sub fear incr
  • on_question — Sub question
  • on_fap — Sub fap
  • on_grope — Sub grope
  • on_arouse_dom_first — Dom lust meter appears
  • on_dom_orgasm — Player orgasm
  • on_simultaneous_orgasm — On simultaneous orgasm
  • on_time_limit_hit — Time limit hit
  • on_seduce_shield — On seduce shield
  • on_sub_misfire — On sub spell misfire
  • on_first_illusion — On first illusion cast

Find out more:[edit]

Making Mods
How To

Getting StartedDeveloper Mode

Parts of a mod

File HierarchyDialogue Editor

Tech

JinjaCSSPython

Distribution

Steam WorkshopWorkshop Content Policy

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Recent changes

  • Jackoekaki • 4 weeks ago
  • Jackoekaki • 4 weeks ago
  • Jackoekaki • 4 weeks ago
  • Jackoekaki • 1 month ago