]> git.lizzy.rs Git - Crafter.git/blob - README.md
Add in raycast bucket
[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 # 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 - Added craft recipe to shears
73 - Moved to Minetest Engine Version 5.3.0 - DEV
74 - Added slimes
75 - Added mob criticals and client effects
76 - Added stream and river sound effect to client
77 - Moved underground cave noises to client
78 - Add line_of_sight so mobs can't hit you through walls
79 - Add nether prototype
80 - Fix water animation and add default Minetest water texture
81 - Tweak mob direct chase AI
82 - Add rain sound effect
83 - Updated nether prototype
84 - Added lava
85 - Added ichor weather
86 - Added nether portal node and fire
87 - Added in flint and steel, flint, and gravel and enabled dirt and gravel spawning
88 - Made nether portal function
89 - Beds and water explode in the nether
90 - Added better nether portal effect
91 - Make error 23 much less frequent
92 - Make mobs less noisy
93 - Add buckets in
94 - Make buckets use special raycast function
95 - Fix clientside global counters to after statements
96 - Made snow and grass floodable
97 ---
98
99
100 # IDEAS:
101
102
103
104 ## REDSTONE:
105 - breaker (mines whatever is in front of it)
106 - dispenser (shoots out first item in inventory, or shoots item into pipe)
107 - sticky piston (pulls node in front of it)
108 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
109
110
111 ---
112
113
114 ## MOBS:
115
116 > #1 idea, - make mobs pathfind
117
118
119 ### sheep
120 - sheep can be punched to drop wool without damage
121 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
122
123
124 ### pig
125 - disable pig aggression
126 - make porkchop look nicer
127
128
129 ### ghosts
130 - make the default player model whited out
131 - ghosts can pass through any nodes
132 - ghosts fly around
133 - will follow you groaning about "diamonds", "need food", and "join us"
134 - they will fling you up in the air or punch you
135 - ghosts can drag you down into nodes and suffocate you
136 - spawn with cave sounds
137 - drop soul
138
139
140 ### node monster
141 - gets built out of nodes in the area
142 - will probabaly destroy you
143 - drops all nodes that it's made of when killed
144
145
146 ### Exploder
147 - sneaks up on you and then explodes
148 - drops gun powder
149
150
151 ---
152
153
154 ## Game Mechanics:
155 - xp (edit the node drops code to check if node has tag for xp)
156 - brewing
157 - enchanting/upgrading
158 - magic (wands, spells, etc)
159 - better combat ( sweep hit enemies, falling while hitting deals more damage )
160
161
162 ---
163
164
165 ## New Themes
166
167 ### mechanics (mechanical tools and machines)
168 - compressor (compresses nodes down)
169 - auto miner (digs whatever is in front of it)
170 - decompressor (opposite of compressor
171
172
173 ### automation 
174 - pipes
175 - pumps
176 - fluid  transfer
177 - fluid storage
178 - pipes should be able to move objects quickly
179
180
181 ### HALLOWEEN!
182 - lava acts like water in the nether but lava in the other worlds
183 - pumpkins
184 - Jack O'Lanterns
185 - corn and corn stalks
186 - decorations
187 - cobwebs
188 - costumes (somehow?)
189 - candy
190 - make grass and leaves orange during the month of October
191 - (Use a simple date check and override nodes)
192 - Gravestones
193 - Graveyards
194 - Candles
195 - candy apples
196 - Soul cake, make with cake and soul
197
198
199 ### Farming
200 - add fertilizer (pig drops bone randomly) 
201 - fertilizer is made out of bone - 
202 - fertilizer can make tall grass grow on regular grass
203 - bread - 3 bread in a row
204 - make sandwich with bread and cooked porkchop
205 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
206
207
208 ### Fishing
209 - have a rod that you can cast into water
210 - bobber entity which goes under water when fish on line
211
212
213 ---
214
215
216 ## New Items
217
218 > These don't seem to fit into any theme so list them all here
219
220 - sugar and sugar cane (grow near water on sand)
221 - rope and tnt arrows
222 - vehicles (car, powered minecarts, trains)
223 - hitscan flintlocks
224 - bows
225
226
227 ---
228
229
230 ## Ideas
231
232 > These ideas are all over the place but are good for future updates
233
234 - make pistons able to push and pull any node that does not use meta or inv
235 - make pistons able to push and pull deactivated pistons
236 - upgrade minecart physics even more 
237 - make torches abm that checks if player in area
238 - make furnace abm that checks if player in area
239 - 3d character
240 - make tnt hurt player
241 - rewrite minecart
242 - fix tool rightclick torch placement to replace buildable to nodes
243 - if placed last node put another stack into hand
244 - have falling node hurt player?
245 - add a function to set a velocity goal to entities and then implement it with all entities
246 - ^make a value if below then stop?
247 - colored chat messages
248 - check if everyone is in bed before going to next night
249 - also lock player in bed until they get out or daytime
250 - create a function to check if a node or group is below
251 - ^ set meta for player so that all mods can use it without calculating it
252 - ^ over and over again (saves cpu cycles)
253 - cars buildable in crafting table
254 - require gas pumps refine oil
255 - drive next to gas pump and car will fill with gas
256 - maybe have pump be rightclickable and then manually fill with gass using nozel
257 - minecart car train? - off rail use
258 - automatic step height for off rail use
259 - make cars follow each other
260 - oil which spawns underground in pools
261 - powered minecart car (engine car)
262 - chest minecart car
263 - player controls engine car
264 - make entities push against players
265
266
267 ---
268
269
270 ## Possible Applications
271
272 > causes object to magnetize towards player or other objects and stop after an inner radius
273 > use for better item magnet?
274 ```
275 if object:is_player() and object:get_player_name() ~= self.rider then
276       local player_pos = object:getpos()
277       pos.y = 0
278       player_pos.y = 0
279       
280       local currentvel = self.object:getvelocity()
281       local vel = vector.subtract(pos, player_pos)
282       vel = vector.normalize(vel)
283       local distance = vector.distance(pos,player_pos)
284       distance = (1-distance)*10
285       vel = vector.multiply(vel,distance)
286       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
287       
288       
289       if self.axis == "x"      then
290             self.object:add_velocity(vector.new(acceleration.x,0,0))
291       elseif self.axis == "z" then
292             self.object:add_velocity(vector.new(0,0,acceleration.z))
293       else
294             self.object:add_velocity(acceleration)
295       end
296       
297       - acceleration = vector.multiply(acceleration, -1)
298       - object:add_player_velocity(acceleration)
299 end
300 ```