Smog
README.md
kit
The building blocks world.District and world.Gasworks share. Every function takes the parent entity first.
box,standing,solid: primitive boxes, ones standing on the ground (with a sunk base so no faces z-fight), and box colliders.prop(parent, name, kind, x, foot, z, scale, yaw?, opts?): a generated prop (PROPS: gas_lamp, barrel, crate, railing, bollard, handcart, gasholder, water_pump, pillar_box, carriage) at its true footing, withopts.collide,opts.shadowsandopts.mat.decal(parent, name, mat, x, y, z, nx, nz, w, h): a flat picture (poster, sign, window, door) on a wall facing (nx, nz).rod(parent, name, x0, y0, z0, x1, y1, z1, thick, mat): a cylinder between two points (washing lines, pipes, stays).lamp(parent, postName, flameName, x, foot, z, flameY, intensity, radius, seed, shadows?): the generated gas lamp plus a flickering amber point light (world.LampFlicker).glow(...): a shadowless fill light. Alsoquat,qmul,rnd,yawOf, and thePOSTERSlist.