Want the whole set? The Godot Collection holds the CSAF Godot addon packs on one page, plus every new one, for $19.99.
Township is a Godot 4.7 addon for NPC daily routines on your own TileMapLayer, with 50 working places drawn in code that wake when their people arrive. Royalty free in your games. A free MIT lite with 12 places is on this page.
Show full description...
Give everyone a day as plain data: a list of stops, each a time and a place. Press Play and they walk it, opening doors, coming home after dark. Where someone is depends only on the clock, so a scene loaded at noon, a save and a time skip are simply right, with no tracking code.
Township.add_person("odile", {"name": "Odile", "trade": "baker", "stops": [ {"at": "05:00", "place": "oven", "tag": "work"}, {"at": "22:00", "place": "home", "tag": "sleep"}, ]}) print(Township.place_of("odile"))
Schedules store no end times, so a night shift is the ordinary case. Other schedules take over on market days, weekdays and story flags.
A town the player can see working
The forge's coals brighten when the smith arrives. An awning rolls out at opening time. A window lights after dark while someone is home, and the lamplighter lights the street lamps one by one. Fire and lamps cast real 2D lights.
Everyone's day on one board
The routine board draws a strip for each person. Use it as your debugger, or show it to the player as the town's roster.
What is inside
- 50 places in 8 families (home, craft, food, market, land, water, civic, festival), each a preset scene with exported colours, speed and intensity. Two sit on your own window and chimney tiles.
- The engine: routes round your walls, doors, ways out to other scenes, conversations that cannot break a routine, plain data saves.
- Your own art: your SpriteFrames, or the 20 trades drawn in code.
- A demo town: fifteen people on one street, market day and festival night included.
- Both renderers: Forward+ and Compatibility, run on Godot 4.7.2.
Free lite and install
Township Lite is free (MIT): 12 of the places and the schedule engine. Copy addons/township into your project, or open the godot folder and press Play. Read the docs.
Licence
Royalty free in your games, no credit required. No resale of the files as a pack.
Made with AI tools: the code was written with AI, and everything it draws is computed by that code.
More from the same studio
- Township for RPG Maker MZ, the same idea as an MZ plugin.
- Threshold for Godot 4, door openings from your own tiles.
- CSAF Godot 4 Sampler, free presets from our addons.