ID:2304311
 
Message or post below..
I'm speeding through some new systems that I think you'll might like..
It's to do with Peter Pan for starters:
we randomly generate cities and buildings
And then we populated them with real pedestrians that have things like..
wallets, jobs, weight etcera and then we give the hero the freedom to explore this world for /himself...

Anyone keen to try?

/*Peter Pan
Wendy meets Peter*/

//Peter approaches from behind a corner-stone.
//Wendy remarks surprisedly.

//People walk to & fro, through the Old-London trainstation.
//They chat about school and the police.

/*People walking to & fro
Down roads, in carriages and in buildings.*/

//Start spawn a city limit of pedestrians.
//Give everybody stats.
//Assign each mob a place to sleep.
//Assign each mob a job and each job a behaviour to perform.

/*
Poor person
Rich person
Middle classed person
Peter
*/

//Poor person maybe moves around at night.
//Poor person often steals and sleeps homeless.

//Rich people sleep in houses.
//Rich people often transact.

//Middle classed people work.
//Middle classed people often have families.


City Limits.
How many cities?
How big are they?
How many people are there?
What's the ratio between rich people and poor people?
And how's that determine how many middle-classed people there are.

What do the buildings look like and where are they situated?
How many people are situated in one building?
What's their names? Ages etcetera.
How do they make money?
What sort of routines have they established for themselves.





mob/var
type
class
job
age
height
weight
money
var/list/clothes

obj/interactable
wallet
clothes

turf/interactable
doors
windows



world/var
population

//Peter steals an apple from a fruit vendor.

Fruitvendor
var/list(
"Hey!", //1
"What's up?", //2
"Here you go.", //3
"Have a lovely day!", //4
"Bye!", //5
"Wait!", //6
"Give that back!", //7
"Theif!", //8
"Arrest him!") //9

proc
Buy
Sell
Go_home
Set_up
Get_robbed
Catch_thief

Login to reply.