]> git.lizzy.rs Git - Crafter.git/blob - README.md
Update README.md
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
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
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 ```
21
22
23
24 ## This game is in early alpha and uses a lot of experimental features in the engine
25
26 ---
27
28 # ALPHA STATE CHANGELOG
29
30 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
31
32 ## 0.04
33 > Endless Horizons Update
34
35 - Added in prototype for new mechanics built ontop of the engine
36 - Added cactus
37 - Make cactus hurt player when they touch it using touch_hurt group
38 - Added aether portals
39 - Make flying pigs drop 1-6 gold
40 - Make mobs use builtin minetest.throw_item function (custom)
41 - Double flying pigs sight radius
42 - Add hurt_inside group
43 - Add lava and fire to hurt_inside group
44 - Make mobs get damaged in fire and lava
45 - Add prototype mining lazer
46 - Add prototype gravity gun
47 - Added ice
48 - Make players get suffocated inside solid nodes
49 - Ice now breaks into water
50 - Ice spawns when snowing, replaces water under air
51 - Players sneaking hide nametag
52 - Updated main menu texture to have better brightness/contrast
53 - Turned mobs into API
54 - Added creepig
55 - Flying Pig now throws TNT at player
56 - Redid fishing mechanics
57 - Redid bows and arrows
58 - Added collision detection to mobs
59 - Add fall damage to mobs
60 - Make fishing work
61 - Ice now breaks into water
62 - Added FOV fade
63 - Add experience
64 - Added in shadow to heart statbar
65 - Added enchanting
66 - Add cake and cursed cake
67 - Prevent player from getting suffocated while teleporting
68 - Added in custom breath handling
69 - Made drowning slower
70 - Stopped infinite drowning death
71 - Merged drowning functions with new player functions
72 - Added in gerold55 bubble texture with countdown
73 - Swapped bubble direction
74 - Added in hunger
75 - Tuned hunger
76 - Added block breaking induced hunger exhaustion
77 - Fixed dead players collecting xp
78 - Overhauled hunger
79 - Optimized hunger health regen
80 - Overhauled farming and plants
81 - Fire now uses node timers to run even faster and prevent forest fires from becoming extreme
82 - Crops are now easier to grow
83 - Various farming improvements
84 - Optimized snow to the extreme
85 - Added in broken nether trees
86 - Added in melons and stem growth type plants
87 - Make saplings use node timers with catchup
88 - Made rain look even better
89 - Stop FOV fading from causing motion sickness
90 - Crops are now destroyed if not enough light
91 - Begin experimental treecapitator test
92 - Revert experimental treecapitator test and release experiment as mod
93 - Add in xp debug test
94 - Made minecarts work even "better"
95 - Added in clientside WAILA
96 - Fixed vignette having a streak of pixels across top of screen
97 - Add in 22i's MC mobs
98 - Overhaul mobs and make them use bone based head movement
99 - Add in group_attack setting for mobs
100 - Readded in creeper, phyg, and pig
101 - Fix a lot of things
102 - Fix a lot of deprecated calls
103 - Fixed stone hoes actually being made out of stone
104 - Add in better arrow hit sounds
105 - Overhauled arrows
106 - Added WAIH
107 - Overhaul mobs damage color modifier
108 - Make exploding mobs flash while charging
109 - Fix more deprecated calls
110 - Overhauled spawn command for mobs to use raycasting
111 - Overhaul mobs again
112 - Explosions now fling and hurt mobs
113 - Phygs now flap wings and do not take fall damage
114 - More deprecated call fixed for 3d noise in aether, void, and nether
115 - Fix WAIH crashing with tool that has no tooldef
116 - Fixed boat scaling
117 - Use gerold55's nice xp orb texture
118 - Updated readme.md
119 - Added nitro creeper and it spawns in the nether
120 - Added damage texture modifier
121 - Add in custom explodey mob color modifier
122 - Add in custom blink timer for explodey mobs
123 - Overhauled drowning
124 - Drowning now takes away a full heart
125 - Overhauled mob jumping
126 - Added in 22i's slime model
127 - Exploding mobs now instantly dissapear when detonated
128 - Added in gunpowder and tnt is now made from it
129 - Added in spider
130 - Improved mob jumping
131 - Added in string
132 - Added in fishing - Fishing poles are made from sticks and string
133 - Fixed raw porkchops not being edible
134 - Fixed xp level number scaling huge
135 - Added in cool spider sounds
136 - Snow and ice now melts when not snowing
137 - Implemented mob pathfinding
138 ---
139
140
141 # IDEAS:
142
143 ## jetpack:
144 - equipped like armor
145 - uses XP
146
147
148 ## REDSTONE:
149 - breaker (mines whatever is in front of it)
150 - dispenser (shoots out first item in inventory, or shoots item into pipe)
151 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
152
153
154 ---
155
156
157
158 ## BUILDTEST:
159 - quarry
160 - filter
161 - siv
162 - mining lazer
163 - trains
164
165
166
167 ---
168
169
170 ## MOBS:
171
172 > #1 idea, - make mobs pathfind
173
174 ### snowman
175 - only spawns when snowing
176 - throws snowballs at the player
177 - creates snow wherever it "walks"
178 - you can put a pumpkin on it's head to make it survive when it's not snowing out
179 - drops snowballs and coal
180
181 ### sheep
182 - sheep can be punched to drop wool without damage
183 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
184
185
186 ### pig
187 - disable pig aggression
188 - make porkchop look nicer
189
190
191 ### ghosts
192 - make the default player model whited out
193 - ghosts can pass through any nodes
194 - ghosts fly around
195 - will follow you groaning about "diamonds", "need food", and "join us"
196 - they will fling you up in the air or punch you
197 - ghosts can drag you down into nodes and suffocate you
198 - spawn with cave sounds
199 - drop soul
200
201
202 ### node monster
203 - gets built out of nodes in the area
204 - will probabaly destroy you
205 - drops all nodes that it's made of when killed
206
207
208 ### Exploder
209 - sneaks up on you and then explodes
210 - drops gun powder
211
212
213 ---
214
215
216 ## Game Mechanics:
217 - xp (edit the node drops code to check if node has tag for xp)
218 - brewing
219 - enchanting/upgrading
220 - magic (wands, spells, etc)
221 - better combat ( sweep hit enemies, falling while hitting deals more damage )
222
223
224 ---
225
226
227 ## New Themes
228
229 ### mechanics (mechanical tools and machines)
230 - compressor (compresses nodes down)
231 - auto miner (digs whatever is in front of it)
232 - decompressor (opposite of compressor
233
234
235 ### automation 
236 - pipes
237 - pumps
238 - fluid  transfer
239 - fluid storage
240 - pipes should be able to move objects quickly
241
242
243 ### HALLOWEEN!
244 - lava acts like water in the nether but lava in the other worlds
245 - pumpkins
246 - Jack O'Lanterns
247 - corn and corn stalks
248 - decorations
249 - cobwebs
250 - costumes (somehow?)
251 - candy
252 - make grass and leaves orange during the month of October
253 - (Use a simple date check and override nodes)
254 - Gravestones
255 - Graveyards
256 - Candles
257 - candy apples
258 - Soul cake, make with cake and soul
259
260
261 ### Farming
262 - add fertilizer (pig drops bone randomly) 
263 - fertilizer is made out of bone - 
264 - fertilizer can make tall grass grow on regular grass
265 - bread - 3 bread in a row
266 - make sandwich with bread and cooked porkchop
267 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
268
269
270 ### Fishing
271 - have a rod that you can cast into water
272 - bobber entity which goes under water when fish on line
273
274
275 ---
276
277
278 ## New Items
279
280 > These don't seem to fit into any theme so list them all here
281
282 - sugar and sugar cane (grow near water on sand)
283 - rope and tnt arrows
284 - vehicles (car, powered minecarts, trains)
285 - hitscan flintlocks
286 - bows
287
288
289 ---
290
291
292 ## Ideas
293
294 > These ideas are all over the place but are good for future updates
295
296 - make pistons able to push and pull any node that does not use meta or inv
297 - make pistons able to push and pull deactivated pistons
298 - upgrade minecart physics even more 
299 - make torches abm that checks if player in area
300 - make furnace abm that checks if player in area
301 - 3d character
302 - make tnt hurt player
303 - rewrite minecart
304 - fix tool rightclick torch placement to replace buildable to nodes
305 - if placed last node put another stack into hand
306 - have falling node hurt player?
307 - add a function to set a velocity goal to entities and then implement it with all entities
308 - ^make a value if below then stop?
309 - colored chat messages
310 - check if everyone is in bed before going to next night
311 - also lock player in bed until they get out or daytime
312 - create a function to check if a node or group is below
313 - ^ set meta for player so that all mods can use it without calculating it
314 - ^ over and over again (saves cpu cycles)
315 - cars buildable in crafting table
316 - require gas pumps refine oil
317 - drive next to gas pump and car will fill with gas
318 - maybe have pump be rightclickable and then manually fill with gass using nozel
319 - minecart car train? - off rail use
320 - automatic step height for off rail use
321 - make cars follow each other
322 - oil which spawns underground in pools
323 - powered minecart car (engine car)
324 - chest minecart car
325 - player controls engine car
326 - make entities push against players
327
328
329 ---
330
331
332 ## Possible Applications
333
334 > causes object to magnetize towards player or other objects and stop after an inner radius
335 > use for better item magnet?
336 ```
337 if object:is_player() and object:get_player_name() ~= self.rider then
338       local player_pos = object:getpos()
339       pos.y = 0
340       player_pos.y = 0
341       
342       local currentvel = self.object:getvelocity()
343       local vel = vector.subtract(pos, player_pos)
344       vel = vector.normalize(vel)
345       local distance = vector.distance(pos,player_pos)
346       distance = (1-distance)*10
347       vel = vector.multiply(vel,distance)
348       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
349       
350       
351       if self.axis == "x"      then
352             self.object:add_velocity(vector.new(acceleration.x,0,0))
353       elseif self.axis == "z" then
354             self.object:add_velocity(vector.new(0,0,acceleration.z))
355       else
356             self.object:add_velocity(acceleration)
357       end
358       
359       - acceleration = vector.multiply(acceleration, -1)
360       - object:add_player_velocity(acceleration)
361 end
362 ```