3e SRD:Exotic Weapon

Exotic Weapons


Back to Main Page 3e Open Game Content System Reference Document Equipment Weapons

Open Game Content (place problems on the discussion page).
This is part of the (3e) System Reference Document. It is covered by the Open Game License v1.0a, rather than the GNU Free Documentation License 1.3. To distinguish it, these items will have this notice. If you see any page that contains SRD material and does not show this license statement, please contact an admin so that this license statement can be added. It is our intent to work within this license in good faith.
gollark: Your config can be a programming language too, since it's useful for specifying some things without having to repeat yourself, but it should be separate from the code.
gollark: Application code is stuff which should be the same across deployments. Config is stuff which shouldn't.
gollark: Then your application is wrong.
gollark: * specify, not design
gollark: ```rust let with_db = warp::any().map(move || pool.clone()); let static_files = warp::path("assets").and(warp::fs::dir("assets")); let view_page = warp::path!(String).and(warp::get()).and(with_db.clone()) // repeating the next bit for every route is kind of bad, see if it can be changed somehow .and_then(|title, db| async { error_to_http_response(view_page(db, title).await) }); let editor_page = warp::path!(String / "edit").and(warp::get()).and(with_db.clone()) .and_then(|title, db| async { error_to_http_response(editor_page(db, title).await) }); let save_edit = warp::path!(String / "edit").and(warp::post()).and(warp::body::form()).and(with_db) .and_then(|title, form, db| async { error_to_http_response(save_edit(db, title, form).await) }); let not_found = warp::any().map(|| warp::reply::with_status("404 Not Found", http::StatusCode::NOT_FOUND)); let main = editor_page.or(save_edit).or(view_page); let app = static_files.or(main).or(not_found);```See, this is how you SHOULD design routes: incomprehensibly.
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.