About This File
Clone Wars – Full NPC genderbending for Summer City
Clone Wars Shop – SWP-CLONE PILLS and DEMO
❓ What is it?
This mod introduces the hottest new rage sweeping Summer City: SWP-CLONE PILLS!
With 105 known DNA entries in the SWP-Clone database, these pills allow for an easy single‑time‑slot transformation into a particular set of DNA.
The mod manages Male, Female, and Purple forms for $npcs, remembering when an alternate form has been assigned and automatically assigning forms when they have not been assigned yet. It also includes advanced options for forced one‑shot transformations and permanent swaps.
✨ Features
-
[]Gender‑swap any NPC – transform existing characters into male, female, or purple variants with a single line of code.
[]Persistent memory – the mod remembers which form each NPC has taken, using a master database ($npc_master_database).
[]One‑shot override – use $temp_id or $any_npc_no_save to create temporary transformations without saving to the master variable.
[]Forced assignment – $desired_id and $force_id let you lock a specific bar girl as the alternate form. - Extensive bar‑girl database – includes 105+ girls sorted by race, hair color, and bust size. Easy to add more.
- Template passages – ready‑to‑use templates for male/female/purple transformations with all optional variables clearly commented.
⬇️ Download
- []Main mod file: attached to this post (XCL_Clone_Wars..twee)
- []Media file: attached to this post (XCL_Clone_Wars.zip)
- []Location mod file: attached to this post (XCL_Clone_Wars_Stories.twee)
- []Instructions File: attached to this post (XCL_Clone_Wars_Instructions.txt)
📦 Installation
Load the with the mod loader.
3. Start transforming
-
[]Whenever you want to change an NPC’s form, simply call:
(display:"current npc transform to male")
(display:"current npc transform to female")
(display:"current npc transform to purple")
[]For custom options, copy one of the template passages and adjust the variables ($desired_id, $force_id, $temp_id, etc.) before the display call.
🎮 How to use
-
Basic transformation:
Set $npc to your target character, then run the appropriate display.
Example:
(set:$npc to $npc_master.get("alexia"))
(display:"current npc transform to male") -
One‑shot transformation (no save):
(set:$temp_id to "desired_bar_girl_id")
(set:$any_npc_no_save to 1)
(display:"current npc transform to female") -
Permanent forced form:
(set:$force_id to "desired_bar_girl_id")
(display:"current npc transform to purple") -
Adding a new bar girl:
Copy the template lines from the “How to import a new bar girl” section into your own passage, replace the placeholders with the actual ID, and run it once during game initialization.
❗ Important notes
-
[]The variables $select and $gender are never cleared automatically – always set them explicitly or clear them after use.
[]For random generation of male forms, the mod relies on the wharf generation system – make sure those variables are properly initialized.
[]If you use $temp_id or $any_npc_no_save, the transformation will not be recorded in $npc_master; it’s a temporary visual change only.
[]The purple form uses a separate database ($installed_purple_girls); ensure it is populated.
🗃️ The Clone Wars Database
Clone Wars uses random $npc generation to create males matching necessary traits. It uses a database of female Bar Girls to assign female forms to $npcs, and a database of PURPLE Bar Girls to assign purple forms.
-
[]Male forms: generated on‑the‑fly using the same random NPC system (wharf variables).
[]Female forms: picked from various $installed_..._girls arrays (by race/hair). - Purple forms: picked from $installed_purple_girls.
🔧 Important Variables
-
[]$npc_swap – The listing for the NPC’s base form. For females this is usually the NPC’s "id". For males it can be either "name" or "id".
[]$npc_master – The (dm:) entry for $npc_swap, storing links between male, female, and purple IDs.
[]$any_select – Gets set during transformation to the ID of the current NPC.
[]$gender_select – Gets set during transformation to the gender of the current NPC.
[]$any_race – Gets set during transformation to the race of the current NPC.
[]$target_gender – Must be set to {"male","female","purple"} to trigger a transformation. - $installed_..._girls – Various arrays holding bar‑girl IDs, sorted by race, hair color, and bust size.
➕ How to import a new bar girl
Chances are, I have already imported your Bar Girl. But if not, or you just want to be sure, you'll need the following passages/passage_tags.
1. Race / Hair Color Database
Create a passage tagged [add_race_database] with the following content (replace "ID_here" with the actual bar‑girl ID):
(if:(datanames:$npcs) contains "ID_here")[(set:$installed_black_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_brunette_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_blonde_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_white_girls to it + (a:"ID_here"))] Note: this is hair color (white/platinum), not race. (if:(datanames:$npcs) contains "ID_here")[(set:$installed_latin_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_arab_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_asian_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_red_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_rainbow_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_purple_girls to it + (a:"ID_here"))]
2. Bust Size Database
Create a passage tagged [add_tits_database] with:
(if:(datanames:$npcs) contains "ID_here")[(set:$installed_a_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_b_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_c_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_d_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_e_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_f_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_g_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_h_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_i_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_j_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_k_girls to it + (a:"ID_here"))] (if:(datanames:$npcs) contains "ID_here")[(set:$installed_l_girls to it + (a:"ID_here"))]
3. Master Database (optional lock)
If you want to lock a profile for an NPC, add an entry to the $npc_master_database in a passage tagged [npc_master_database]:
(set:$npc_master_database to it + (dm:"alexia",(dm:"male id","none","female id","alexia","purple id","none","gender","female"))) (set:$npc_master_database to it + (dm:"izzy wilde",(dm:"male id","none","female id","none","purple id","izzy wilde","gender","purple"))) (set:$npc_master_database to it + (dm:"bruce",(dm:"male id","bruce","female id","none","purple id","none","gender","male")))
📄 Template Passages
These can now be found in the Instructions .txt file included with this download.
💖 Support the project
If you like my work, please consider supporting me.
Subscribestar:
https://subscribestar.adult/shadowdragon
Edited by Dragon42
What's New in Version 1.23.12a
Released
Updated code to support all current Bar Girls (including Foxy Di and Dakota Tyler, who were missing from the first update)