]> git.lizzy.rs Git - Crafter.git/blob - README.md
Add in command to change weather
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.2.0
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11 ---
12
13 # ALPHA STATE CHANGELOG
14
15 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
16
17 ## 0.03
18 > It's A Real Game! Update
19 - make grass spread
20 - water buckets
21 - buckets water farmland
22 - pickaxe required to mine stone based nodes
23 - Crafting bench
24 - Farming with hoes, grass drops seeds, bread, etc
25 - simplify mobs ai
26 - running out of a node when placing tries to replace it with another of the same item in inventory
27 - crafting bench
28 - add in default furnace
29 - add backgrounds to all gui elements
30 - make furnaces drop all items on destroy instead of not allowing you to mine them
31 - added glass - smelt sand
32 - added boat 
33 - rightclicking with tool places torch
34 - add chest
35 - make chest drop all items when you mine them
36 - add in redstone:
37 - torch, repeater, comparator, inverter, piston, player detector,light,
38 - redstone ore - drops 4,5 redstone dust, turns on when punched
39 - pressure plate, detects players (output max), detects items (output based on number of items)
40 - fix item size based on number of items in stack to fixed size
41 - add hoppers
42 - Add TooManyItems
43 - add function to check which nodes drop the item
44 - fix hoppers not activating furnace
45 - make pigs head turn smoothly
46 - Add in fences, walls, windows
47 - Overhaul doors
48 - Add credits screen
49 - Add stairs
50 - Add slabs
51 - 2 Music tracks (day and morning)
52 - Add snow
53 - Fix bed placement
54 - Add snow and snowballs
55 - Make snow falling node
56 - Add creative mode
57 - Add trap chest and sticky piston
58 - Added Et QtFunny font info
59 - Added footers and books
60 - Added rain 
61 - Added Book sounds
62 - Changed TNT sound
63 - Overhauled eating
64 - Add in client weather handling
65 - Add in client movement handling
66 - Made sapling fuel
67 - Fix bed bed, boat, book, sapling, wood, minecart, rail, redstone, and boat placement
68 - Add sounds to redstone dust
69 - make redstone dust an attached node
70 - Fixed treecaptitator not cutting down part of tree when lever is powering one of it's nodes
71 - Added command for users with "server" privelage to control weather
72 ---
73
74
75 # IDEAS:
76
77
78
79 ## REDSTONE:
80 - breaker (mines whatever is in front of it)
81 - dispenser (shoots out first item in inventory, or shoots item into pipe)
82 - sticky piston (pulls node in front of it)
83 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
84
85
86 ---
87
88
89 ## MOBS:
90
91 > #1 idea, - make mobs pathfind
92
93
94 ### sheep
95 - sheep can be punched to drop wool without damage
96 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
97
98
99 ### pig
100 - disable pig aggression
101 - make porkchop look nicer
102
103
104 ### ghosts
105 - make the default player model whited out
106 - ghosts can pass through any nodes
107 - ghosts fly around
108 - will follow you groaning about "diamonds", "need food", and "join us"
109 - they will fling you up in the air or punch you
110 - ghosts can drag you down into nodes and suffocate you
111 - spawn with cave sounds
112 - drop soul
113
114
115 ### node monster
116 - gets built out of nodes in the area
117 - will probabaly destroy you
118 - drops all nodes that it's made of when killed
119
120
121 ### Exploder
122 - sneaks up on you and then explodes
123 - drops gun powder
124
125
126 ---
127
128
129 ## Game Mechanics:
130 - xp (edit the node drops code to check if node has tag for xp)
131 - brewing
132 - enchanting/upgrading
133 - magic (wands, spells, etc)
134 - better combat ( sweep hit enemies, falling while hitting deals more damage )
135
136
137 ---
138
139
140 ## New Themes
141
142 ### mechanics (mechanical tools and machines)
143 - compressor (compresses nodes down)
144 - auto miner (digs whatever is in front of it)
145 - decompressor (opposite of compressor
146
147
148 ### automation 
149 - pipes
150 - pumps
151 - fluid  transfer
152 - fluid storage
153 - pipes should be able to move objects quickly
154
155
156 ### HALLOWEEN!
157 - pumpkins
158 - Jack O'Lanterns
159 - corn and corn stalks
160 - decorations
161 - cobwebs
162 - costumes (somehow?)
163 - candy
164 - make grass and leaves orange during the month of October
165 - (Use a simple date check and override nodes)
166 - Gravestones
167 - Graveyards
168 - Candles
169 - candy apples
170 - Soul cake, make with cake and soul
171
172
173 ### Farming
174 - add fertilizer (pig drops bone randomly) 
175 - fertilizer is made out of bone - 
176 - fertilizer can make tall grass grow on regular grass
177 - bread - 3 bread in a row
178 - make sandwich with bread and cooked porkchop
179 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
180
181
182 ### Fishing
183 - have a rod that you can cast into water
184 - bobber entity which goes under water when fish on line
185
186
187 ---
188
189
190 ## New Items
191
192 > These don't seem to fit into any theme so list them all here
193
194 - sugar and sugar cane (grow near water on sand)
195 - rope and tnt arrows
196 - vehicles (car, powered minecarts, trains)
197 - hitscan flintlocks
198 - bows
199
200
201 ---
202
203
204 ## Ideas
205
206 > These ideas are all over the place but are good for future updates
207
208 - make pistons able to push and pull any node that does not use meta or inv
209 - make pistons able to push and pull deactivated pistons
210 - upgrade minecart physics even more 
211 - make torches abm that checks if player in area
212 - make furnace abm that checks if player in area
213 - 3d character
214 - make tnt hurt player
215 - rewrite minecart
216 - fix tool rightclick torch placement to replace buildable to nodes
217 - if placed last node put another stack into hand
218 - have falling node hurt player?
219 - add a function to set a velocity goal to entities and then implement it with all entities
220 - ^make a value if below then stop?
221 - colored chat messages
222 - check if everyone is in bed before going to next night
223 - also lock player in bed until they get out or daytime
224 - create a function to check if a node or group is below
225 - ^ set meta for player so that all mods can use it without calculating it
226 - ^ over and over again (saves cpu cycles)
227 - cars buildable in crafting table
228 - require gas pumps refine oil
229 - drive next to gas pump and car will fill with gas
230 - maybe have pump be rightclickable and then manually fill with gass using nozel
231 - minecart car train? - off rail use
232 - automatic step height for off rail use
233 - make cars follow each other
234 - oil which spawns underground in pools
235 - powered minecart car (engine car)
236 - chest minecart car
237 - player controls engine car
238 - make entities push against players
239
240
241 ---
242
243
244 ## Possible Applications
245
246 > causes object to magnetize towards player or other objects and stop after an inner radius
247 > use for better item magnet?
248 ```
249 if object:is_player() and object:get_player_name() ~= self.rider then
250       local player_pos = object:getpos()
251       pos.y = 0
252       player_pos.y = 0
253       
254       local currentvel = self.object:getvelocity()
255       local vel = vector.subtract(pos, player_pos)
256       vel = vector.normalize(vel)
257       local distance = vector.distance(pos,player_pos)
258       distance = (1-distance)*10
259       vel = vector.multiply(vel,distance)
260       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
261       
262       
263       if self.axis == "x"      then
264             self.object:add_velocity(vector.new(acceleration.x,0,0))
265       elseif self.axis == "z" then
266             self.object:add_velocity(vector.new(0,0,acceleration.z))
267       else
268             self.object:add_velocity(acceleration)
269       end
270       
271       - acceleration = vector.multiply(acceleration, -1)
272       - object:add_player_velocity(acceleration)
273 end
274 ```